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
FieldsModifier and TypeFieldDescriptionstatic final shortstatic final shortstatic final shortFields inherited from interface 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
Modifier and TypeMethodDescriptionintgetCharNumAtPosition(SVGPoint point) floatgetEndPositionOfChar(int charnum) getExtentOfChar(int charnum) intfloatgetRotationOfChar(int charnum) getStartPositionOfChar(int charnum) floatgetSubStringLength(int charnum, int nchars) voidselectSubString(int charnum, int nchars) Methods inherited from interface Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface EventTarget
addEventListener, dispatchEvent, removeEventListenerMethods inherited from interface 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, setUserDataMethods inherited from interface SVGElement
getId, getOwnerSVGElement, getViewportElement, getXMLbase, setId, setXMLbaseMethods inherited from interface SVGExternalResourcesRequired
getExternalResourcesRequiredMethods inherited from interface SVGLangSpace
getXMLlang, getXMLspace, setXMLlang, setXMLspaceMethods inherited from interface SVGStylable
getClassName, getPresentationAttribute, getStyleMethods inherited from interface SVGTests
getRequiredExtensions, getRequiredFeatures, getSystemLanguage, hasExtension
-
Field Details
-
LENGTHADJUST_UNKNOWN
static final short LENGTHADJUST_UNKNOWN- See Also:
-
LENGTHADJUST_SPACING
static final short LENGTHADJUST_SPACING- See Also:
-
LENGTHADJUST_SPACINGANDGLYPHS
static final short LENGTHADJUST_SPACINGANDGLYPHS- See Also:
-
-
Method Details
-
getTextLength
SVGAnimatedLength getTextLength() -
getLengthAdjust
SVGAnimatedEnumeration getLengthAdjust() -
getNumberOfChars
int getNumberOfChars() -
getComputedTextLength
float getComputedTextLength() -
getSubStringLength
- Throws:
DOMException
-
getStartPositionOfChar
- Throws:
DOMException
-
getEndPositionOfChar
- Throws:
DOMException
-
getExtentOfChar
- Throws:
DOMException
-
getRotationOfChar
- Throws:
DOMException
-
getCharNumAtPosition
-
selectSubString
- Throws:
DOMException
-