SVGNumber
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
SVGNumber
is read-only, aDOMException
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
Specification |
---|
Scalable Vector Graphics (SVG) 2 # InterfaceSVGNumber |
Browser compatibility
BCD tables only load in the browser