Length class

Annotations
  • @Unstable()
  • @Native("SVGLength")

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 num?
getter/setter pair
valueAsString String?
getter/setter pair
valueInSpecifiedUnits num?
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_LENGTHTYPE_CM → const int
SVG_LENGTHTYPE_EMS → const int
SVG_LENGTHTYPE_EXS → const int
SVG_LENGTHTYPE_IN → const int
SVG_LENGTHTYPE_MM → const int
SVG_LENGTHTYPE_NUMBER → const int
SVG_LENGTHTYPE_PC → const int
SVG_LENGTHTYPE_PERCENTAGE → const int
SVG_LENGTHTYPE_PT → const int
SVG_LENGTHTYPE_PX → const int
SVG_LENGTHTYPE_UNKNOWN → const int