search

goog.graphics.PathElement

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 path element. You should not construct objects from this constructor. The graphics will return an implementation of this interface for you.

new PathElement( element, graphics, stroke, fill )

Parameters
element(Element|null)

The DOM element to wrap.

graphics(goog.graphics.AbstractGraphics|null)

The graphics creating this element.

stroke(goog.graphics.Stroke|null)

The stroke to use for this element.

fill(goog.graphics.Fill|null)

The fill to use for this element.

Instance Methods

Instance Properties