| 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: |
| 6 // This file contains documentation that is merged into the real source. |
| 7 // Do not make code changes here. |
| 8 |
| 9 /// @domName SVGLength |
| 10 interface SVGLength { |
| 11 |
| 12 static final int SVG_LENGTHTYPE_CM = 6; |
| 13 |
| 14 static final int SVG_LENGTHTYPE_EMS = 3; |
| 15 |
| 16 static final int SVG_LENGTHTYPE_EXS = 4; |
| 17 |
| 18 static final int SVG_LENGTHTYPE_IN = 8; |
| 19 |
| 20 static final int SVG_LENGTHTYPE_MM = 7; |
| 21 |
| 22 static final int SVG_LENGTHTYPE_NUMBER = 1; |
| 23 |
| 24 static final int SVG_LENGTHTYPE_PC = 10; |
| 25 |
| 26 static final int SVG_LENGTHTYPE_PERCENTAGE = 2; |
| 27 |
| 28 static final int SVG_LENGTHTYPE_PT = 9; |
| 29 |
| 30 static final int SVG_LENGTHTYPE_PX = 5; |
| 31 |
| 32 static final int SVG_LENGTHTYPE_UNKNOWN = 0; |
| 33 |
| 34 /** @domName SVGLength.unitType */ |
| 35 final int unitType; |
| 36 |
| 37 /** @domName SVGLength.value */ |
| 38 num value; |
| 39 |
| 40 /** @domName SVGLength.valueAsString */ |
| 41 String valueAsString; |
| 42 |
| 43 /** @domName SVGLength.valueInSpecifiedUnits */ |
| 44 num valueInSpecifiedUnits; |
| 45 |
| 46 /** @domName SVGLength.convertToSpecifiedUnits */ |
| 47 void convertToSpecifiedUnits(int unitType); |
| 48 |
| 49 /** @domName SVGLength.newValueSpecifiedUnits */ |
| 50 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits); |
| 51 } |
| OLD | NEW |