| 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 SVGTextContentElement |
| 10 interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGE
xternalResourcesRequired, SVGStylable { |
| 11 |
| 12 static final int LENGTHADJUST_SPACING = 1; |
| 13 |
| 14 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; |
| 15 |
| 16 static final int LENGTHADJUST_UNKNOWN = 0; |
| 17 |
| 18 /** @domName SVGTextContentElement.lengthAdjust */ |
| 19 final SVGAnimatedEnumeration lengthAdjust; |
| 20 |
| 21 /** @domName SVGTextContentElement.textLength */ |
| 22 final SVGAnimatedLength textLength; |
| 23 |
| 24 /** @domName SVGTextContentElement.getCharNumAtPosition */ |
| 25 int getCharNumAtPosition(SVGPoint point); |
| 26 |
| 27 /** @domName SVGTextContentElement.getComputedTextLength */ |
| 28 num getComputedTextLength(); |
| 29 |
| 30 /** @domName SVGTextContentElement.getEndPositionOfChar */ |
| 31 SVGPoint getEndPositionOfChar(int offset); |
| 32 |
| 33 /** @domName SVGTextContentElement.getExtentOfChar */ |
| 34 SVGRect getExtentOfChar(int offset); |
| 35 |
| 36 /** @domName SVGTextContentElement.getNumberOfChars */ |
| 37 int getNumberOfChars(); |
| 38 |
| 39 /** @domName SVGTextContentElement.getRotationOfChar */ |
| 40 num getRotationOfChar(int offset); |
| 41 |
| 42 /** @domName SVGTextContentElement.getStartPositionOfChar */ |
| 43 SVGPoint getStartPositionOfChar(int offset); |
| 44 |
| 45 /** @domName SVGTextContentElement.getSubStringLength */ |
| 46 num getSubStringLength(int offset, int length); |
| 47 |
| 48 /** @domName SVGTextContentElement.selectSubString */ |
| 49 void selectSubString(int offset, int length); |
| 50 } |
| OLD | NEW |