SVGSVGElement: createSVGRect() method
SVG
SVG
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
Browser compatibility
See also
- DOMRect