| 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 SVGElementWrappingImpl
ementation implements SVGTextContentElement { | |
| 8 SVGTextContentElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
| 9 | |
| 10 SVGAnimatedEnumeration get lengthAdjust() { return LevelDom.wrapSVGAnimatedEnu
meration(_ptr.lengthAdjust); } | |
| 11 | |
| 12 SVGAnimatedLength get textLength() { return LevelDom.wrapSVGAnimatedLength(_pt
r.textLength); } | |
| 13 | |
| 14 int getCharNumAtPosition(SVGPoint point) { | |
| 15 return _ptr.getCharNumAtPosition(LevelDom.unwrap(point)); | |
| 16 } | |
| 17 | |
| 18 num getComputedTextLength() { | |
| 19 return _ptr.getComputedTextLength(); | |
| 20 } | |
| 21 | |
| 22 SVGPoint getEndPositionOfChar(int offset) { | |
| 23 return LevelDom.wrapSVGPoint(_ptr.getEndPositionOfChar(offset)); | |
| 24 } | |
| 25 | |
| 26 SVGRect getExtentOfChar(int offset) { | |
| 27 return LevelDom.wrapSVGRect(_ptr.getExtentOfChar(offset)); | |
| 28 } | |
| 29 | |
| 30 int getNumberOfChars() { | |
| 31 return _ptr.getNumberOfChars(); | |
| 32 } | |
| 33 | |
| 34 num getRotationOfChar(int offset) { | |
| 35 return _ptr.getRotationOfChar(offset); | |
| 36 } | |
| 37 | |
| 38 SVGPoint getStartPositionOfChar(int offset) { | |
| 39 return LevelDom.wrapSVGPoint(_ptr.getStartPositionOfChar(offset)); | |
| 40 } | |
| 41 | |
| 42 num getSubStringLength(int offset, int length) { | |
| 43 return _ptr.getSubStringLength(offset, length); | |
| 44 } | |
| 45 | |
| 46 void selectSubString(int offset, int length) { | |
| 47 _ptr.selectSubString(offset, length); | |
| 48 return; | |
| 49 } | |
| 50 | |
| 51 // From SVGTests | |
| 52 | |
| 53 SVGStringList get requiredExtensions() { return LevelDom.wrapSVGStringList(_pt
r.requiredExtensions); } | |
| 54 | |
| 55 SVGStringList get requiredFeatures() { return LevelDom.wrapSVGStringList(_ptr.
requiredFeatures); } | |
| 56 | |
| 57 SVGStringList get systemLanguage() { return LevelDom.wrapSVGStringList(_ptr.sy
stemLanguage); } | |
| 58 | |
| 59 bool hasExtension(String extension) { | |
| 60 return _ptr.hasExtension(extension); | |
| 61 } | |
| 62 | |
| 63 // From SVGLangSpace | |
| 64 | |
| 65 String get xmllang() { return _ptr.xmllang; } | |
| 66 | |
| 67 void set xmllang(String value) { _ptr.xmllang = value; } | |
| 68 | |
| 69 String get xmlspace() { return _ptr.xmlspace; } | |
| 70 | |
| 71 void set xmlspace(String value) { _ptr.xmlspace = value; } | |
| 72 | |
| 73 // From SVGExternalResourcesRequired | |
| 74 | |
| 75 SVGAnimatedBoolean get externalResourcesRequired() { return LevelDom.wrapSVGAn
imatedBoolean(_ptr.externalResourcesRequired); } | |
| 76 | |
| 77 // From SVGStylable | |
| 78 | |
| 79 SVGAnimatedString get className() { return LevelDom.wrapSVGAnimatedString(_ptr
.className); } | |
| 80 | |
| 81 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } | |
| 82 | |
| 83 CSSValue getPresentationAttribute(String name) { | |
| 84 return LevelDom.wrapCSSValue(_ptr.getPresentationAttribute(name)); | |
| 85 } | |
| 86 } | |
| OLD | NEW |