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
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
