SVGAngle extension type
The SVGAngle
interface is used to represent a value that can be an or
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
baseVal
member of an SVGAnimatedAngle), - Be detached, which is the case for
SVGAngle
objects created with SVGSVGElement.createSVGAngle.
API documentation sourced from MDN Web Docs.
- on
- Implemented types
- Available extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unitType → int
-
no setter
- value ↔ double
-
getter/setter pair
- valueAsString ↔ String
-
getter/setter pair
- valueInSpecifiedUnits ↔ double
-
getter/setter pair
Methods
-
convertToSpecifiedUnits(
int unitType) → void -
newValueSpecifiedUnits(
int unitType, num valueInSpecifiedUnits) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- SVG_ANGLETYPE_DEG → const int
- SVG_ANGLETYPE_GRAD → const int
- SVG_ANGLETYPE_RAD → const int
- SVG_ANGLETYPE_UNKNOWN → const int
- SVG_ANGLETYPE_UNSPECIFIED → const int