OLD | NEW |
1 | 1 |
2 class _SVGAngleJs extends _DOMTypeJs implements SVGAngle native "*SVGAngle" { | 2 class _SVGAngleJs extends _DOMTypeJs implements 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 get unitType() native "return this.unitType;"; | 14 final int unitType; |
15 | 15 |
16 num get value() native "return this.value;"; | 16 num value; |
17 | 17 |
18 void set value(num value) native "this.value = value;"; | 18 String valueAsString; |
19 | 19 |
20 String get valueAsString() native "return this.valueAsString;"; | 20 num valueInSpecifiedUnits; |
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;"; | |
27 | 21 |
28 void convertToSpecifiedUnits(int unitType) native; | 22 void convertToSpecifiedUnits(int unitType) native; |
29 | 23 |
30 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; | 24 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
31 } | 25 } |
OLD | NEW |