OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, 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 int get unitType(); | |
32 | |
33 num get value(); | |
34 | |
35 void set value(num value); | |
36 | |
37 String get valueAsString(); | |
38 | |
39 void set valueAsString(String value); | |
40 | |
41 num get valueInSpecifiedUnits(); | |
42 | |
43 void set valueInSpecifiedUnits(num value); | |
44 | |
45 void convertToSpecifiedUnits(int unitType); | |
46 | |
47 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); | |
48 } | |
OLD | NEW |