OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 interface SVGLength { | |
8 | |
9 static final int SVG_LENGTHTYPE_CM = 6; | |
10 | |
11 static final int SVG_LENGTHTYPE_EMS = 3; | |
12 | |
13 static final int SVG_LENGTHTYPE_EXS = 4; | |
14 | |
15 static final int SVG_LENGTHTYPE_IN = 8; | |
16 | |
17 static final int SVG_LENGTHTYPE_MM = 7; | |
18 | |
19 static final int SVG_LENGTHTYPE_NUMBER = 1; | |
20 | |
21 static final int SVG_LENGTHTYPE_PC = 10; | |
22 | |
23 static final int SVG_LENGTHTYPE_PERCENTAGE = 2; | |
24 | |
25 static final int SVG_LENGTHTYPE_PT = 9; | |
26 | |
27 static final int SVG_LENGTHTYPE_PX = 5; | |
28 | |
29 static final int SVG_LENGTHTYPE_UNKNOWN = 0; | |
30 | |
31 final int unitType; | |
32 | |
33 num value; | |
34 | |
35 String valueAsString; | |
36 | |
37 num valueInSpecifiedUnits; | |
38 | |
39 void convertToSpecifiedUnits(int unitType); | |
40 | |
41 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); | |
42 } | |
OLD | NEW |