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