search

goog.graphics.AbstractGraphics

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

Base class for the different graphics. You should never construct objects of this class. Instead us goog.graphics.createGraphics

new AbstractGraphics( width, height, opt_coordWidth, opt_coordHeight, opt_domHelper )

Parameters
width(number|string)

The width in pixels or percent.

height(number|string)

The height in pixels or percent.

opt_coordWidth(number|null)=

Optional coordinate system width - if omitted or null, defaults to same as width.

opt_coordHeight(number|null)=

Optional coordinate system height - if omitted or null, defaults to same as height.

opt_domHelper(goog.dom.DomHelper|null)=

The DOM helper object for the document we want to render in.

Instance Methods

Instance Properties