org.w3c.dom.svg
public interface SVGTextContentElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, EventTarget
Modifier and Type | Field and Description |
---|---|
static short |
LENGTHADJUST_SPACING |
static short |
LENGTHADJUST_SPACINGANDGLYPHS |
static short |
LENGTHADJUST_UNKNOWN |
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
Modifier and Type | Method and Description |
---|---|
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) |
getId, getOwnerSVGElement, getViewportElement, getXMLbase, setId, setXMLbase
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
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
getRequiredExtensions, getRequiredFeatures, getSystemLanguage, hasExtension
getXMLlang, getXMLspace, setXMLlang, setXMLspace
getExternalResourcesRequired
getClassName, getPresentationAttribute, getStyle
addEventListener, dispatchEvent, removeEventListener
static final short LENGTHADJUST_UNKNOWN
static final short LENGTHADJUST_SPACING
static final short LENGTHADJUST_SPACINGANDGLYPHS
SVGAnimatedLength getTextLength()
SVGAnimatedEnumeration getLengthAdjust()
int getNumberOfChars()
float getComputedTextLength()
float getSubStringLength(int charnum, int nchars) throws DOMException
DOMException
SVGPoint getStartPositionOfChar(int charnum) throws DOMException
DOMException
SVGPoint getEndPositionOfChar(int charnum) throws DOMException
DOMException
SVGRect getExtentOfChar(int charnum) throws DOMException
DOMException
float getRotationOfChar(int charnum) throws DOMException
DOMException
int getCharNumAtPosition(SVGPoint point)
void selectSubString(int charnum, int nchars) throws DOMException
DOMException