search

goog.graphics.StrokeAndFillElement

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 element with a stroke and fill. This is the base interface for ellipse, rectangle and other shape interfaces. You should not construct objects from this constructor. The graphics will return an implementation of this interface for you.

new StrokeAndFillElement( 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