OLD | NEW |
(Empty) | |
| 1 |
| 2 class _SVGTextContentElementImpl extends _SVGElementImpl implements SVGTextConte
ntElement { |
| 3 _SVGTextContentElementImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 SVGAnimatedEnumeration get lengthAdjust() => _wrap(_ptr.lengthAdjust); |
| 6 |
| 7 SVGAnimatedLength get textLength() => _wrap(_ptr.textLength); |
| 8 |
| 9 int getCharNumAtPosition(SVGPoint point) { |
| 10 return _wrap(_ptr.getCharNumAtPosition(_unwrap(point))); |
| 11 } |
| 12 |
| 13 num getComputedTextLength() { |
| 14 return _wrap(_ptr.getComputedTextLength()); |
| 15 } |
| 16 |
| 17 SVGPoint getEndPositionOfChar(int offset) { |
| 18 return _wrap(_ptr.getEndPositionOfChar(_unwrap(offset))); |
| 19 } |
| 20 |
| 21 SVGRect getExtentOfChar(int offset) { |
| 22 return _wrap(_ptr.getExtentOfChar(_unwrap(offset))); |
| 23 } |
| 24 |
| 25 int getNumberOfChars() { |
| 26 return _wrap(_ptr.getNumberOfChars()); |
| 27 } |
| 28 |
| 29 num getRotationOfChar(int offset) { |
| 30 return _wrap(_ptr.getRotationOfChar(_unwrap(offset))); |
| 31 } |
| 32 |
| 33 SVGPoint getStartPositionOfChar(int offset) { |
| 34 return _wrap(_ptr.getStartPositionOfChar(_unwrap(offset))); |
| 35 } |
| 36 |
| 37 num getSubStringLength(int offset, int length) { |
| 38 return _wrap(_ptr.getSubStringLength(_unwrap(offset), _unwrap(length))); |
| 39 } |
| 40 |
| 41 void selectSubString(int offset, int length) { |
| 42 _ptr.selectSubString(_unwrap(offset), _unwrap(length)); |
| 43 return; |
| 44 } |
| 45 |
| 46 // From SVGTests |
| 47 |
| 48 SVGStringList get requiredExtensions() => _wrap(_ptr.requiredExtensions); |
| 49 |
| 50 SVGStringList get requiredFeatures() => _wrap(_ptr.requiredFeatures); |
| 51 |
| 52 SVGStringList get systemLanguage() => _wrap(_ptr.systemLanguage); |
| 53 |
| 54 bool hasExtension(String extension) { |
| 55 return _wrap(_ptr.hasExtension(_unwrap(extension))); |
| 56 } |
| 57 |
| 58 // From SVGLangSpace |
| 59 |
| 60 String get xmllang() => _wrap(_ptr.xmllang); |
| 61 |
| 62 void set xmllang(String value) { _ptr.xmllang = _unwrap(value); } |
| 63 |
| 64 String get xmlspace() => _wrap(_ptr.xmlspace); |
| 65 |
| 66 void set xmlspace(String value) { _ptr.xmlspace = _unwrap(value); } |
| 67 |
| 68 // From SVGExternalResourcesRequired |
| 69 |
| 70 SVGAnimatedBoolean get externalResourcesRequired() => _wrap(_ptr.externalResou
rcesRequired); |
| 71 |
| 72 // From SVGStylable |
| 73 |
| 74 SVGAnimatedString get _className() => _wrap(_ptr.className); |
| 75 |
| 76 CSSStyleDeclaration get style() => _wrap(_ptr.style); |
| 77 |
| 78 CSSValue getPresentationAttribute(String name) { |
| 79 return _wrap(_ptr.getPresentationAttribute(_unwrap(name))); |
| 80 } |
| 81 } |
OLD | NEW |