| OLD | NEW |
| 1 | 1 |
| 2 class SVGTextContentElement extends SVGElement native "*SVGTextContentElement" { | 2 class SVGTextContentElement extends SVGElement native "*SVGTextContentElement" { |
| 3 | 3 |
| 4 static final int LENGTHADJUST_SPACING = 1; | 4 static final int LENGTHADJUST_SPACING = 1; |
| 5 | 5 |
| 6 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; | 6 static final int LENGTHADJUST_SPACINGANDGLYPHS = 2; |
| 7 | 7 |
| 8 static final int LENGTHADJUST_UNKNOWN = 0; | 8 static final int LENGTHADJUST_UNKNOWN = 0; |
| 9 | 9 |
| 10 SVGAnimatedEnumeration lengthAdjust; | 10 SVGAnimatedEnumeration get lengthAdjust() native "return this.lengthAdjust;"; |
| 11 | 11 |
| 12 SVGAnimatedLength textLength; | 12 SVGAnimatedLength get textLength() native "return this.textLength;"; |
| 13 | 13 |
| 14 int getCharNumAtPosition(SVGPoint point) native; | 14 int getCharNumAtPosition(SVGPoint point) native; |
| 15 | 15 |
| 16 num getComputedTextLength() native; | 16 num getComputedTextLength() native; |
| 17 | 17 |
| 18 SVGPoint getEndPositionOfChar(int offset) native; | 18 SVGPoint getEndPositionOfChar(int offset) native; |
| 19 | 19 |
| 20 SVGRect getExtentOfChar(int offset) native; | 20 SVGRect getExtentOfChar(int offset) native; |
| 21 | 21 |
| 22 int getNumberOfChars() native; | 22 int getNumberOfChars() native; |
| 23 | 23 |
| 24 num getRotationOfChar(int offset) native; | 24 num getRotationOfChar(int offset) native; |
| 25 | 25 |
| 26 SVGPoint getStartPositionOfChar(int offset) native; | 26 SVGPoint getStartPositionOfChar(int offset) native; |
| 27 | 27 |
| 28 num getSubStringLength(int offset, int length) native; | 28 num getSubStringLength(int offset, int length) native; |
| 29 | 29 |
| 30 void selectSubString(int offset, int length) native; | 30 void selectSubString(int offset, int length) native; |
| 31 | 31 |
| 32 // From SVGTests | 32 // From SVGTests |
| 33 | 33 |
| 34 SVGStringList requiredExtensions; | 34 SVGStringList get requiredExtensions() native "return this.requiredExtensions;
"; |
| 35 | 35 |
| 36 SVGStringList requiredFeatures; | 36 SVGStringList get requiredFeatures() native "return this.requiredFeatures;"; |
| 37 | 37 |
| 38 SVGStringList systemLanguage; | 38 SVGStringList get systemLanguage() native "return this.systemLanguage;"; |
| 39 | 39 |
| 40 bool hasExtension(String extension) native; | 40 bool hasExtension(String extension) native; |
| 41 | 41 |
| 42 // From SVGLangSpace | 42 // From SVGLangSpace |
| 43 | 43 |
| 44 String xmllang; | 44 String get xmllang() native "return this.xmllang;"; |
| 45 | 45 |
| 46 String xmlspace; | 46 void set xmllang(String value) native "this.xmllang = value;"; |
| 47 |
| 48 String get xmlspace() native "return this.xmlspace;"; |
| 49 |
| 50 void set xmlspace(String value) native "this.xmlspace = value;"; |
| 47 | 51 |
| 48 // From SVGExternalResourcesRequired | 52 // From SVGExternalResourcesRequired |
| 49 | 53 |
| 50 SVGAnimatedBoolean externalResourcesRequired; | 54 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa
lResourcesRequired;"; |
| 51 | 55 |
| 52 // From SVGStylable | 56 // From SVGStylable |
| 53 | 57 |
| 54 SVGAnimatedString className; | 58 SVGAnimatedString get className() native "return this.className;"; |
| 55 | 59 |
| 56 CSSStyleDeclaration style; | 60 CSSStyleDeclaration get style() native "return this.style;"; |
| 57 | 61 |
| 58 CSSValue getPresentationAttribute(String name) native; | 62 CSSValue getPresentationAttribute(String name) native; |
| 59 } | 63 } |
| OLD | NEW |