Package org.loboevolution.html.dom.svg
Interface SVGTextContentElement
- All Superinterfaces:
Element
,EventTarget
,InnerHTML
,Node
,NonDocumentTypeChildNode
,ParentNode
,SVGElement
,SVGExternalResourcesRequired
,SVGLangSpace
,SVGStylable
,SVGTests
- All Known Subinterfaces:
SVGAltGlyphElement
,SVGTextElement
,SVGTextPathElement
,SVGTextPositioningElement
,SVGTRefElement
,SVGTSpanElement
- All Known Implementing Classes:
SVGTextElementImpl
public interface SVGTextContentElement
extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable
SVGTextContentElement interface.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final short
Constant LENGTHADJUST_SPACING=1static final short
Constant LENGTHADJUST_SPACINGANDGLYPHS=2static final short
Constant LENGTHADJUST_UNKNOWN=0Fields inherited from interface org.loboevolution.html.node.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, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
Method Summary
Modifier and TypeMethodDescriptionint
getCharNumAtPosition
(SVGPoint point) getCharNumAtPosition.float
getComputedTextLength.getEndPositionOfChar
(int charnum) getEndPositionOfChar.getExtentOfChar
(int charnum) getExtentOfChar.getLengthAdjust.int
getNumberOfChars.float
getRotationOfChar
(int charnum) getRotationOfChar.getStartPositionOfChar
(int charnum) getStartPositionOfChar.float
getSubStringLength
(int charnum, int nchars) getSubStringLength.getTextLength.void
selectSubString
(int charnum, int nchars) selectSubString.Methods inherited from interface org.loboevolution.html.node.Element
closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getInnerHTML, getInnerText, getLocalName, getNamespaceURI, getOuterHTML, getPrefix, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, matches, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, toggleAttribute, toggleAttribute
Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTML
Methods inherited from interface org.loboevolution.html.node.Node
appendChild, cloneNode, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserData
Methods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSibling
Methods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAll
Methods inherited from interface org.loboevolution.html.dom.svg.SVGElement
getId, getOwnerSVGElement, getViewportElement, setId, setOwnerSVGElement
Methods inherited from interface org.loboevolution.html.dom.svg.SVGExternalResourcesRequired
getExternalResourcesRequired
Methods inherited from interface org.loboevolution.html.dom.svg.SVGLangSpace
getXMLlang, getXMLspace, setXMLlang, setXMLspace
Methods inherited from interface org.loboevolution.html.dom.svg.SVGStylable
getStyle
Methods inherited from interface org.loboevolution.html.dom.svg.SVGTests
getRequiredExtensions, getRequiredFeatures, getSystemLanguage, hasExtension
-
Field Details
-
LENGTHADJUST_UNKNOWN
static final short LENGTHADJUST_UNKNOWNConstant LENGTHADJUST_UNKNOWN=0- See Also:
-
LENGTHADJUST_SPACING
static final short LENGTHADJUST_SPACINGConstant LENGTHADJUST_SPACING=1- See Also:
-
LENGTHADJUST_SPACINGANDGLYPHS
static final short LENGTHADJUST_SPACINGANDGLYPHSConstant LENGTHADJUST_SPACINGANDGLYPHS=2- See Also:
-
-
Method Details
-
getTextLength
SVGAnimatedLength getTextLength()getTextLength.
- Returns:
- a
SVGAnimatedLength
object.
-
getLengthAdjust
SVGAnimatedEnumeration getLengthAdjust()getLengthAdjust.
- Returns:
- a
SVGAnimatedEnumeration
object.
-
getNumberOfChars
int getNumberOfChars()getNumberOfChars.
- Returns:
- a
Integer
object.
-
getComputedTextLength
float getComputedTextLength()getComputedTextLength.
- Returns:
- a float.
-
getSubStringLength
float getSubStringLength(int charnum, int nchars) getSubStringLength.
- Parameters:
charnum
- aInteger
object.nchars
- aInteger
object.- Returns:
- a float.
- Throws:
DOMException
- if any.
-
getStartPositionOfChar
getStartPositionOfChar.
- Parameters:
charnum
- aInteger
object.- Returns:
- a
SVGPoint
object. - Throws:
DOMException
- if any.
-
getEndPositionOfChar
getEndPositionOfChar.
- Parameters:
charnum
- aInteger
object.- Returns:
- a
SVGPoint
object. - Throws:
DOMException
- if any.
-
getExtentOfChar
getExtentOfChar.
- Parameters:
charnum
- aInteger
object.- Returns:
- a
SVGRect
object. - Throws:
DOMException
- if any.
-
getRotationOfChar
float getRotationOfChar(int charnum) getRotationOfChar.
- Parameters:
charnum
- aInteger
object.- Returns:
- a float.
- Throws:
DOMException
- if any.
-
getCharNumAtPosition
getCharNumAtPosition.
-
selectSubString
void selectSubString(int charnum, int nchars) selectSubString.
- Parameters:
charnum
- aInteger
object.nchars
- aInteger
object.- Throws:
DOMException
- if any.
-