SVGRect class

SVGRect class

Represents rectangular geometry. Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.

Inheritance: SVGRectSVGValueTypeDOMObject

The SVGRect type exposes the following members:

Properties

PropertyDescription
xThe X coordinate of the rectangle, in user units.
yThe Y coordinate of the rectangle, in user units.
widthThe Width coordinate of the rectangle, in user units.
heightThe Height coordinate of the rectangle, in user units.

Methods

MethodDescription
get_platform_typeThis method is used to retrieve ECMAScript object Type.

See Also