| 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 class _SVGTextContentElementWrappingImplementation extends _SVGElementWrappingIm
plementation implements SVGTextContentElement { |
| 8 _SVGTextContentElementWrappingImplementation() : super() {} |
| 9 |
| 10 static create__SVGTextContentElementWrappingImplementation() native { |
| 11 return new _SVGTextContentElementWrappingImplementation(); |
| 12 } |
| 13 |
| 14 SVGAnimatedEnumeration get lengthAdjust() { return _get_lengthAdjust(this); } |
| 15 static SVGAnimatedEnumeration _get_lengthAdjust(var _this) native; |
| 16 |
| 17 SVGAnimatedLength get textLength() { return _get_textLength(this); } |
| 18 static SVGAnimatedLength _get_textLength(var _this) native; |
| 19 |
| 20 int getCharNumAtPosition(SVGPoint point) { |
| 21 return _getCharNumAtPosition(this, point); |
| 22 } |
| 23 static int _getCharNumAtPosition(receiver, point) native; |
| 24 |
| 25 num getComputedTextLength() { |
| 26 return _getComputedTextLength(this); |
| 27 } |
| 28 static num _getComputedTextLength(receiver) native; |
| 29 |
| 30 SVGPoint getEndPositionOfChar(int offset) { |
| 31 return _getEndPositionOfChar(this, offset); |
| 32 } |
| 33 static SVGPoint _getEndPositionOfChar(receiver, offset) native; |
| 34 |
| 35 SVGRect getExtentOfChar(int offset) { |
| 36 return _getExtentOfChar(this, offset); |
| 37 } |
| 38 static SVGRect _getExtentOfChar(receiver, offset) native; |
| 39 |
| 40 int getNumberOfChars() { |
| 41 return _getNumberOfChars(this); |
| 42 } |
| 43 static int _getNumberOfChars(receiver) native; |
| 44 |
| 45 num getRotationOfChar(int offset) { |
| 46 return _getRotationOfChar(this, offset); |
| 47 } |
| 48 static num _getRotationOfChar(receiver, offset) native; |
| 49 |
| 50 SVGPoint getStartPositionOfChar(int offset) { |
| 51 return _getStartPositionOfChar(this, offset); |
| 52 } |
| 53 static SVGPoint _getStartPositionOfChar(receiver, offset) native; |
| 54 |
| 55 num getSubStringLength(int offset, int length) { |
| 56 return _getSubStringLength(this, offset, length); |
| 57 } |
| 58 static num _getSubStringLength(receiver, offset, length) native; |
| 59 |
| 60 void selectSubString(int offset, int length) { |
| 61 _selectSubString(this, offset, length); |
| 62 return; |
| 63 } |
| 64 static void _selectSubString(receiver, offset, length) native; |
| 65 |
| 66 // From SVGTests |
| 67 |
| 68 SVGStringList get requiredExtensions() { return _get_requiredExtensions(this);
} |
| 69 static SVGStringList _get_requiredExtensions(var _this) native; |
| 70 |
| 71 SVGStringList get requiredFeatures() { return _get_requiredFeatures(this); } |
| 72 static SVGStringList _get_requiredFeatures(var _this) native; |
| 73 |
| 74 SVGStringList get systemLanguage() { return _get_systemLanguage(this); } |
| 75 static SVGStringList _get_systemLanguage(var _this) native; |
| 76 |
| 77 bool hasExtension(String extension) { |
| 78 return _hasExtension(this, extension); |
| 79 } |
| 80 static bool _hasExtension(receiver, extension) native; |
| 81 |
| 82 // From SVGLangSpace |
| 83 |
| 84 String get xmllang() { return _get_xmllang(this); } |
| 85 static String _get_xmllang(var _this) native; |
| 86 |
| 87 void set xmllang(String value) { _set_xmllang(this, value); } |
| 88 static void _set_xmllang(var _this, String value) native; |
| 89 |
| 90 String get xmlspace() { return _get_xmlspace(this); } |
| 91 static String _get_xmlspace(var _this) native; |
| 92 |
| 93 void set xmlspace(String value) { _set_xmlspace(this, value); } |
| 94 static void _set_xmlspace(var _this, String value) native; |
| 95 |
| 96 // From SVGExternalResourcesRequired |
| 97 |
| 98 SVGAnimatedBoolean get externalResourcesRequired() { return _get_externalResou
rcesRequired(this); } |
| 99 static SVGAnimatedBoolean _get_externalResourcesRequired(var _this) native; |
| 100 |
| 101 // From SVGStylable |
| 102 |
| 103 SVGAnimatedString get className() { return _get_className(this); } |
| 104 static SVGAnimatedString _get_className(var _this) native; |
| 105 |
| 106 CSSStyleDeclaration get style() { return _get_style_SVGTextContentElement(this
); } |
| 107 static CSSStyleDeclaration _get_style_SVGTextContentElement(var _this) native; |
| 108 |
| 109 CSSValue getPresentationAttribute(String name) { |
| 110 return _getPresentationAttribute(this, name); |
| 111 } |
| 112 static CSSValue _getPresentationAttribute(receiver, name) native; |
| 113 |
| 114 String get typeName() { return "SVGTextContentElement"; } |
| 115 } |
| OLD | NEW |