SVG
The SVGNumber interface corresponds to the <number> basic data type.
An SVGNumber object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown.
Instance properties
- SVGNumber.value
-
: A float representing the number.
Note: If the
SVGNumberis read-only, a DOMException with the code NO_MODIFICATION_ALLOWED_ERR is raised on an attempt to change the value.
-
Instance methods
This interface doesn't provide any specific methods.
Specifications
Browser compatibility
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
