The SVGAngle interface is used to represent a value that can be an <angle> or <number> value. An SVGAngle reflected through the animVal attribute is always read only.
An SVGAngle object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown.
An SVGAngle object can be associated with a particular element. The associated element is used to determine which element's content attribute to update if the object reflects an attribute. Unless otherwise described, an SVGAngle object is not associated with any element.
Every SVGAngle object operates in one of two modes:
-
Reflect the base value of a reflected animatable attribute (being exposed through the
baseValmember of anSVGAnimatedAngle), -
Be detached, which is the case for
SVGAngleobjects created withSVGSVGElement.createSVGAngle().