Length class
- Annotations
- @Unstable()
- @Native("SVGLength")
Properties
- hashCode → int read-only, inherited
- The hash code for this object. [...]
- runtimeType → Type read-only, inherited
- A representation of the runtime type of the object.
- unitType → int? read-only
- value ↔ num? read / write
- valueAsString ↔ String? read / write
- valueInSpecifiedUnits ↔ num? read / write
Methods
- convertToSpecifiedUnits(
int unitType) → void - newValueSpecifiedUnits(
int unitType, num valueInSpecifiedUnits) → void - noSuchMethod(
Invocation invocation) → dynamic inherited - Invoked when a non-existent method or property is accessed. [...]
- toString(
) → String inherited - A string representation of this object. [...]
Operators
- operator ==(
Object other) → bool inherited - The equality operator. [...]
Constants
- SVG_LENGTHTYPE_CM → const int
-
6
- SVG_LENGTHTYPE_EMS → const int
-
3
- SVG_LENGTHTYPE_EXS → const int
-
4
- SVG_LENGTHTYPE_IN → const int
-
8
- SVG_LENGTHTYPE_MM → const int
-
7
- SVG_LENGTHTYPE_NUMBER → const int
-
1
- SVG_LENGTHTYPE_PC → const int
-
10
- SVG_LENGTHTYPE_PERCENTAGE → const int
-
2
- SVG_LENGTHTYPE_PT → const int
-
9
- SVG_LENGTHTYPE_PX → const int
-
5
- SVG_LENGTHTYPE_UNKNOWN → const int
-
0
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-svg/Length-class.html