OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface SVGAngle { | 7 interface SVGAngle { |
8 | 8 |
9 static final int SVG_ANGLETYPE_DEG = 2; | 9 static final int SVG_ANGLETYPE_DEG = 2; |
10 | 10 |
11 static final int SVG_ANGLETYPE_GRAD = 4; | 11 static final int SVG_ANGLETYPE_GRAD = 4; |
12 | 12 |
13 static final int SVG_ANGLETYPE_RAD = 3; | 13 static final int SVG_ANGLETYPE_RAD = 3; |
14 | 14 |
15 static final int SVG_ANGLETYPE_UNKNOWN = 0; | 15 static final int SVG_ANGLETYPE_UNKNOWN = 0; |
16 | 16 |
17 static final int SVG_ANGLETYPE_UNSPECIFIED = 1; | 17 static final int SVG_ANGLETYPE_UNSPECIFIED = 1; |
18 | 18 |
19 int get unitType(); | 19 final int unitType; |
20 | 20 |
21 num get value(); | 21 num value; |
22 | 22 |
23 void set value(num value); | 23 String valueAsString; |
24 | 24 |
25 String get valueAsString(); | 25 num valueInSpecifiedUnits; |
26 | |
27 void set valueAsString(String value); | |
28 | |
29 num get valueInSpecifiedUnits(); | |
30 | |
31 void set valueInSpecifiedUnits(num value); | |
32 | 26 |
33 void convertToSpecifiedUnits(int unitType); | 27 void convertToSpecifiedUnits(int unitType); |
34 | 28 |
35 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); | 29 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); |
36 } | 30 } |
OLD | NEW |