Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SVGRect object

Describes a rectangle.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.19Internet Explorer 9

 

Members

The SVGRect object has these types of members:

Properties

The SVGRect object has these properties.

PropertyDescription

height

Gets or sets the height of an element.

style

Gets a style object.

width

Defines the width of an element.

x

Gets or sets the x-coordinate value.

y

Gets or sets the y-coordinate value.

 

Standards information

Remarks

Note  In addition to the attributes, properties, events, methods, and styles listed above, SVG elements also inherit core HTML attributes, properties, events, methods, and styles.

SVG rectangles consist of an (x,y) coordinate pair that identifies a minimum x-coordinate value and a minimum y-coordinate value and a width and height, which are typically constrained to be non-negative.

 

 

Show:
© 2015 Microsoft