web api instance method
SVGSVGElement: createSVGRect() method
The createSVGRect() method of the SVGSVGElement interface creates a DOMRect object outside of any document trees.
Syntax
createSVGRect()
Parameters
None.
Return value
A DOMRect object, initialized with x, y, width, and height all set to 0.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.