org.w3c.dom.svg
Interface SVGTextContentElement

All Superinterfaces:
Element, EventTarget, Node, SVGElement, SVGExternalResourcesRequired, SVGLangSpace, SVGStylable, SVGTests
All Known Subinterfaces:
SVGAltGlyphElement, SVGTextElement, SVGTextPathElement, SVGTextPositioningElement, SVGTRefElement, SVGTSpanElement

public interface SVGTextContentElement
extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, EventTarget


Field Summary
static short LENGTHADJUST_SPACING
           
static short LENGTHADJUST_SPACINGANDGLYPHS
           
static short LENGTHADJUST_UNKNOWN
           
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 int getCharNumAtPosition(SVGPoint point)
           
 float getComputedTextLength()
           
 SVGPoint getEndPositionOfChar(int charnum)
           
 SVGRect getExtentOfChar(int charnum)
           
 SVGAnimatedEnumeration getLengthAdjust()
           
 int getNumberOfChars()
           
 float getRotationOfChar(int charnum)
           
 SVGPoint getStartPositionOfChar(int charnum)
           
 float getSubStringLength(int charnum, int nchars)
           
 SVGAnimatedLength getTextLength()
           
 void selectSubString(int charnum, int nchars)
           
 
Methods inherited from interface org.w3c.dom.svg.SVGElement
getId, getOwnerSVGElement, getViewportElement, getXMLbase, setId, setXMLbase
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 
Methods inherited from interface org.w3c.dom.svg.SVGTests
getRequiredExtensions, getRequiredFeatures, getSystemLanguage, hasExtension
 
Methods inherited from interface org.w3c.dom.svg.SVGLangSpace
getXMLlang, getXMLspace, setXMLlang, setXMLspace
 
Methods inherited from interface org.w3c.dom.svg.SVGExternalResourcesRequired
getExternalResourcesRequired
 
Methods inherited from interface org.w3c.dom.svg.SVGStylable
getClassName, getPresentationAttribute, getStyle
 
Methods inherited from interface org.w3c.dom.events.EventTarget
addEventListener, dispatchEvent, removeEventListener
 

Field Detail

LENGTHADJUST_UNKNOWN

static final short LENGTHADJUST_UNKNOWN
See Also:
Constant Field Values

LENGTHADJUST_SPACING

static final short LENGTHADJUST_SPACING
See Also:
Constant Field Values

LENGTHADJUST_SPACINGANDGLYPHS

static final short LENGTHADJUST_SPACINGANDGLYPHS
See Also:
Constant Field Values
Method Detail

getTextLength

SVGAnimatedLength getTextLength()

getLengthAdjust

SVGAnimatedEnumeration getLengthAdjust()

getNumberOfChars

int getNumberOfChars()

getComputedTextLength

float getComputedTextLength()

getSubStringLength

float getSubStringLength(int charnum,
                         int nchars)
                         throws DOMException
Throws:
DOMException

getStartPositionOfChar

SVGPoint getStartPositionOfChar(int charnum)
                                throws DOMException
Throws:
DOMException

getEndPositionOfChar

SVGPoint getEndPositionOfChar(int charnum)
                              throws DOMException
Throws:
DOMException

getExtentOfChar

SVGRect getExtentOfChar(int charnum)
                        throws DOMException
Throws:
DOMException

getRotationOfChar

float getRotationOfChar(int charnum)
                        throws DOMException
Throws:
DOMException

getCharNumAtPosition

int getCharNumAtPosition(SVGPoint point)

selectSubString

void selectSubString(int charnum,
                     int nchars)
                     throws DOMException
Throws:
DOMException