| 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 SVGLength { | 7 interface SVGLength { |
| 8 | 8 |
| 9 static final int SVG_LENGTHTYPE_CM = 6; | 9 static final int SVG_LENGTHTYPE_CM = 6; |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 static final int SVG_LENGTHTYPE_PC = 10; | 21 static final int SVG_LENGTHTYPE_PC = 10; |
| 22 | 22 |
| 23 static final int SVG_LENGTHTYPE_PERCENTAGE = 2; | 23 static final int SVG_LENGTHTYPE_PERCENTAGE = 2; |
| 24 | 24 |
| 25 static final int SVG_LENGTHTYPE_PT = 9; | 25 static final int SVG_LENGTHTYPE_PT = 9; |
| 26 | 26 |
| 27 static final int SVG_LENGTHTYPE_PX = 5; | 27 static final int SVG_LENGTHTYPE_PX = 5; |
| 28 | 28 |
| 29 static final int SVG_LENGTHTYPE_UNKNOWN = 0; | 29 static final int SVG_LENGTHTYPE_UNKNOWN = 0; |
| 30 | 30 |
| 31 int get unitType(); | 31 final int unitType; |
| 32 | 32 |
| 33 num get value(); | 33 num value; |
| 34 | 34 |
| 35 void set value(num value); | 35 String valueAsString; |
| 36 | 36 |
| 37 String get valueAsString(); | 37 num valueInSpecifiedUnits; |
| 38 | |
| 39 void set valueAsString(String value); | |
| 40 | |
| 41 num get valueInSpecifiedUnits(); | |
| 42 | |
| 43 void set valueInSpecifiedUnits(num value); | |
| 44 | 38 |
| 45 void convertToSpecifiedUnits(int unitType); | 39 void convertToSpecifiedUnits(int unitType); |
| 46 | 40 |
| 47 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); | 41 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); |
| 48 } | 42 } |
| OLD | NEW |