search

goog.graphics.ImageElement

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses
warning Deprecated

goog.graphics is deprecated. It existed to abstract over browser differences before the canvas tag was widely supported. See http://en.wikipedia.org/wiki/Canvas_element for details.

Interface for a graphics image element. You should not construct objects from this constructor. Instead, you should use goog.graphics.Graphics.drawImage and it will return an implementation of this interface for you.

new ImageElement( element, graphics )

Parameters
element(Element|null)

The DOM element to wrap.

graphics(goog.graphics.AbstractGraphics|null)

The graphics creating this element.

Instance Methods

Instance Properties