OLD | NEW |
| (Empty) |
1 | |
2 class _SVGLengthJs extends _DOMTypeJs implements SVGLength native "*SVGLength" { | |
3 | |
4 static final int SVG_LENGTHTYPE_CM = 6; | |
5 | |
6 static final int SVG_LENGTHTYPE_EMS = 3; | |
7 | |
8 static final int SVG_LENGTHTYPE_EXS = 4; | |
9 | |
10 static final int SVG_LENGTHTYPE_IN = 8; | |
11 | |
12 static final int SVG_LENGTHTYPE_MM = 7; | |
13 | |
14 static final int SVG_LENGTHTYPE_NUMBER = 1; | |
15 | |
16 static final int SVG_LENGTHTYPE_PC = 10; | |
17 | |
18 static final int SVG_LENGTHTYPE_PERCENTAGE = 2; | |
19 | |
20 static final int SVG_LENGTHTYPE_PT = 9; | |
21 | |
22 static final int SVG_LENGTHTYPE_PX = 5; | |
23 | |
24 static final int SVG_LENGTHTYPE_UNKNOWN = 0; | |
25 | |
26 final int unitType; | |
27 | |
28 num value; | |
29 | |
30 String valueAsString; | |
31 | |
32 num valueInSpecifiedUnits; | |
33 | |
34 void convertToSpecifiedUnits(int unitType) native; | |
35 | |
36 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; | |
37 } | |
OLD | NEW |