SVGRect: width property

The width property of the SVGRect interface is an alias for the DOMRect.width property. It describes the horizontal size of the element. It reflects the SVG element's width attribute and the CSS width property.

The width is a length; it is the distance from the left of element to the right of the element in the user coordinate system. Its syntax is the same as that for <length>.

Specifications

See also