search

goog.graphics.SvgRectElement

Provided By
Extends
All Implemented Interfaces

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

new SvgRectElement( element, graphics, stroke, fill )

Parameters
element(Element|null)

The DOM element to wrap.

graphics(goog.graphics.SvgGraphics|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