KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > w3c > dom > svg > SVGTextContentElement


1
2 package org.w3c.dom.svg;
3
4 import org.w3c.dom.DOMException JavaDoc;
5 import org.w3c.dom.events.EventTarget JavaDoc;
6
7 public interface SVGTextContentElement extends
8                SVGElement,
9                SVGTests,
10                SVGLangSpace,
11                SVGExternalResourcesRequired,
12                SVGStylable,
13                EventTarget JavaDoc {
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;
18
19   public SVGAnimatedLength getTextLength( );
20   public SVGAnimatedEnumeration getLengthAdjust( );
21
22   public int getNumberOfChars ( );
23   public float getComputedTextLength ( );
24   public float getSubStringLength ( int charnum, int nchars )
25                   throws DOMException JavaDoc;
26   public SVGPoint getStartPositionOfChar ( int charnum )
27                   throws DOMException JavaDoc;
28   public SVGPoint getEndPositionOfChar ( int charnum )
29                   throws DOMException JavaDoc;
30   public SVGRect getExtentOfChar ( int charnum )
31                   throws DOMException JavaDoc;
32   public float getRotationOfChar ( int charnum )
33                   throws DOMException JavaDoc;
34   public int getCharNumAtPosition ( SVGPoint point );
35   public void selectSubString ( int charnum, int nchars )
36                   throws DOMException JavaDoc;
37 }
38
Popular Tags