SVGAngle class

The interface is used to represent a value that can be an <angle> or <number> value. An reflected through the animVal attribute is always read only. An object can be designated as read only, which means that attempts to modify the object will result in an exception being thrown. An 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 object is not associated with any element. Every 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 objects created with SVGSVGElement.createSVGAngle().

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

SVGAngle()
factory

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

Available on SVGAngle, provided by the PropsSVGAngle extension

no setter
value double

Available on SVGAngle, provided by the PropsSVGAngle extension

getter/setter pair
valueAsString String

Available on SVGAngle, provided by the PropsSVGAngle extension

getter/setter pair
valueInSpecifiedUnits double

Available on SVGAngle, provided by the PropsSVGAngle extension

getter/setter pair

Methods

convertToSpecifiedUnits(int unitType) → void

Available on SVGAngle, provided by the PropsSVGAngle extension

newValueSpecifiedUnits(int unitType, double valueInSpecifiedUnits) → void

Available on SVGAngle, provided by the PropsSVGAngle extension

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

Static Properties

svgAngletypeDeg int
no setter
svgAngletypeGrad int
no setter
svgAngletypeRad int
no setter
svgAngletypeUnknown int
no setter
svgAngletypeUnspecified int
no setter