7f27be2f69dbfac6bd5fca7ffdf7aa590ef4c7d9
1 \r
2 package org.w3c.dom.svg;\r
3 \r
4 import org.w3c.dom.events.EventTarget;\r
5 import org.w3c.dom.DOMException;\r
6 \r
7 public interface SVGTextContentElement extends \r
8 SVGElement,\r
9 SVGTests,\r
10 SVGLangSpace,\r
11 SVGExternalResourcesRequired,\r
12 SVGStylable,\r
13 EventTarget {\r
14 // lengthAdjust Types\r
15 public static final short LENGTHADJUST_UNKNOWN = 0;\r
16 public static final short LENGTHADJUST_SPACING = 1;\r
17 public static final short LENGTHADJUST_SPACINGANDGLYPHS = 2;\r
18 \r
19 public SVGAnimatedLength getTextLength( );\r
20 public SVGAnimatedEnumeration getLengthAdjust( );\r
21 \r
22 public int getNumberOfChars ( );\r
23 public float getComputedTextLength ( );\r
24 public float getSubStringLength ( int charnum, int nchars )\r
25 throws DOMException;\r
26 public SVGPoint getStartPositionOfChar ( int charnum )\r
27 throws DOMException;\r
28 public SVGPoint getEndPositionOfChar ( int charnum )\r
29 throws DOMException;\r
30 public SVGRect getExtentOfChar ( int charnum )\r
31 throws DOMException;\r
32 public float getRotationOfChar ( int charnum )\r
33 throws DOMException;\r
34 public int getCharNumAtPosition ( SVGPoint point );\r
35 public void selectSubString ( int charnum, int nchars )\r
36 throws DOMException;\r
37 }\r