1 2 package org.w3c.dom.svg; 3 4 import org.w3c.dom.DOMException ; 5 import org.w3c.dom.events.EventTarget ; 6 7 public interface SVGTextContentElement extends 8 SVGElement, 9 SVGTests, 10 SVGLangSpace, 11 SVGExternalResourcesRequired, 12 SVGStylable, 13 EventTarget { 14 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 ; 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 } 38 | Popular Tags |