search

goog.graphics.CanvasPathElement

Provided By
Extends
All Implemented Interfaces

Thin wrapper for canvas path elements. This is an implementation of the goog.graphics.PathElement interface. You should not construct objects from this constructor. The graphics will return the object for you.

new CanvasPathElement( element, graphics, path, stroke, fill )

Parameters
element(Element|null)

The DOM element to wrap.

graphics(goog.graphics.CanvasGraphics|null)

The graphics creating this element.

pathgoog.graphics.Path

The path object to draw.

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