Package org.loboevolution.svg
Interface SVGTextContentElement
- All Superinterfaces:
Element,EventTarget,InnerHTML,ModelNode,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
FieldsModifier and TypeFieldDescriptionstatic final shortConstant LENGTHADJUST_SPACING=1static final shortConstant LENGTHADJUST_SPACINGANDGLYPHS=2static final shortConstant 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 TypeMethodDescriptionintgetCharNumAtPosition(SVGPoint point) getCharNumAtPosition.floatgetComputedTextLength.getEndPositionOfChar(int charnum) getEndPositionOfChar.getExtentOfChar(int charnum) getExtentOfChar.getLengthAdjust.intgetNumberOfChars.floatgetRotationOfChar(int charnum) getRotationOfChar.getStartPositionOfChar(int charnum) getStartPositionOfChar.floatgetSubStringLength(int charnum, int nchars) getSubStringLength.getTextLength.voidselectSubString(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, toggleAttributeMethods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListenerMethods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTMLMethods inherited from interface org.loboevolution.html.node.ModelNode
getDocumentItem, getFullURL, getParentModelNode, getRenderState, isEqualOrDescendentOf, setDocumentItem, warnMethods inherited from interface org.loboevolution.html.node.Node
appendChild, appendChildrenToCollectionImpl, cloneNode, cloneNode, compareDocumentPosition, contains, extractDescendentsArrayImpl, findUINode, forgetRenderState, getAttributes, getBaseURI, getChildNodes, getDocumentNode, getFeature, getFirstChild, getLastChild, getNextSibling, getNextTo, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getPreviousTo, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNamespaceURI, setNodeValue, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUserData, visitMethods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSiblingMethods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAllMethods inherited from interface org.loboevolution.svg.SVGElement
getId, getOwnerSVGElement, getViewportElement, setId, setOwnerSVGElementMethods inherited from interface org.loboevolution.svg.SVGExternalResourcesRequired
getExternalResourcesRequiredMethods inherited from interface org.loboevolution.svg.SVGLangSpace
getXMLlang, getXMLspace, setXMLlang, setXMLspaceMethods inherited from interface org.loboevolution.svg.SVGStylable
getStyleMethods inherited from interface org.loboevolution.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
SVGAnimatedLengthobject.
-
getLengthAdjust
SVGAnimatedEnumeration getLengthAdjust()getLengthAdjust.
- Returns:
- a
SVGAnimatedEnumerationobject.
-
getNumberOfChars
int getNumberOfChars()getNumberOfChars.
- Returns:
- a
Integerobject.
-
getComputedTextLength
float getComputedTextLength()getComputedTextLength.
- Returns:
- a float.
-
getSubStringLength
float getSubStringLength(int charnum, int nchars) getSubStringLength.
- Parameters:
charnum- aIntegerobject.nchars- aIntegerobject.- Returns:
- a float.
- Throws:
DOMException- if any.
-
getStartPositionOfChar
getStartPositionOfChar.
- Parameters:
charnum- aIntegerobject.- Returns:
- a
SVGPointobject. - Throws:
DOMException- if any.
-
getEndPositionOfChar
getEndPositionOfChar.
- Parameters:
charnum- aIntegerobject.- Returns:
- a
SVGPointobject. - Throws:
DOMException- if any.
-
getExtentOfChar
getExtentOfChar.
- Parameters:
charnum- aIntegerobject.- Returns:
- a
SVGRectobject. - Throws:
DOMException- if any.
-
getRotationOfChar
float getRotationOfChar(int charnum) getRotationOfChar.
- Parameters:
charnum- aIntegerobject.- Returns:
- a float.
- Throws:
DOMException- if any.
-
getCharNumAtPosition
getCharNumAtPosition.
-
selectSubString
void selectSubString(int charnum, int nchars) selectSubString.
- Parameters:
charnum- aIntegerobject.nchars- aIntegerobject.- Throws:
DOMException- if any.
-