OLD | NEW |
1 | 1 |
2 class SVGAngle native "*SVGAngle" { | 2 class SVGAngle native "*SVGAngle" { |
3 | 3 |
4 static final int SVG_ANGLETYPE_DEG = 2; | 4 static final int SVG_ANGLETYPE_DEG = 2; |
5 | 5 |
6 static final int SVG_ANGLETYPE_GRAD = 4; | 6 static final int SVG_ANGLETYPE_GRAD = 4; |
7 | 7 |
8 static final int SVG_ANGLETYPE_RAD = 3; | 8 static final int SVG_ANGLETYPE_RAD = 3; |
9 | 9 |
10 static final int SVG_ANGLETYPE_UNKNOWN = 0; | 10 static final int SVG_ANGLETYPE_UNKNOWN = 0; |
11 | 11 |
12 static final int SVG_ANGLETYPE_UNSPECIFIED = 1; | 12 static final int SVG_ANGLETYPE_UNSPECIFIED = 1; |
13 | 13 |
14 int unitType; | 14 int get unitType() native "return this.unitType;"; |
15 | 15 |
16 num value; | 16 num get value() native "return this.value;"; |
17 | 17 |
18 String valueAsString; | 18 void set value(num value) native "this.value = value;"; |
19 | 19 |
20 num valueInSpecifiedUnits; | 20 String get valueAsString() native "return this.valueAsString;"; |
| 21 |
| 22 void set valueAsString(String value) native "this.valueAsString = value;"; |
| 23 |
| 24 num get valueInSpecifiedUnits() native "return this.valueInSpecifiedUnits;"; |
| 25 |
| 26 void set valueInSpecifiedUnits(num value) native "this.valueInSpecifiedUnits =
value;"; |
21 | 27 |
22 void convertToSpecifiedUnits(int unitType) native; | 28 void convertToSpecifiedUnits(int unitType) native; |
23 | 29 |
24 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; | 30 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
25 | 31 |
26 var dartObjectLocalStorage; | 32 var dartObjectLocalStorage; |
27 | 33 |
28 String get typeName() native; | 34 String get typeName() native; |
29 } | 35 } |
OLD | NEW |