MDN self-hosted library · e01.org

SVGRect: height property

SVG

no runnable cells web-api-instance-property upstream source

SVG

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

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

Specifications

Browser compatibility

See also

  • DOMRect.height
  • SVGRect.width