@JsType(isNative=true,
name="SVGTextElement",
namespace="<global>")
public class SVGTextElement
extends SVGElement<SVGTextElement>
implements SVGTextPositioningElement, SVGTransformable
EventTarget.OptionsACTIVE_BUBBLE, ACTIVE_CAPTURE, PASSIVE_BUBBLE, PASSIVE_CAPTURE, PASSIVE_SUPPORTEDLENGTHADJUST_SPACING, LENGTHADJUST_SPACINGANDGLYPHS, LENGTHADJUST_UNKNOWN| Constructor and Description |
|---|
SVGTextElement() |
blur, focus, getOwnerSVGElement, getTabIndex, getViewportElement, setTabIndexaddClassName, getAbsoluteLeft, getAbsoluteTop, getAttribute, getAttributeNS, getClassList, getClassName, getClientHeight, getClientLeft, getClientTop, getClientWidth, getComputedStyle, getId, getInnerHTML, getInnerText, getNativeStyle, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, hasClassName, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, querySelector, releaseCapture, removeAttribute, removeAttributeNS, removeClassName, setAttribute, setAttributeNS, setCapture, setCapture, setClassName, setId, setInnerHTML, setInnerText, setNativeCatpure, setNativeCatpure, setScrollLeft, setScrollTop, webkitRequestFullscreenappendChild, cloneNode, compareDocumentPosition, contains, getBaseURI, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNativeNodeType, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, hasChildNodes, insertAfter, insertBefore, insertBefore, insertFirst, isAncestor, isAttached, isDefaultNamespace, isDescendant, isEqualNode, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenBefore, removeChild, replaceChild, setNodeValue, setPrefix, setTextContentaddEventListener, addEventListener, addEventListener, dispatchEvent, dispatchEvent, getEventListeners, removeEventListener, removeEventListener, removeEventListener, removeNativeEventListener, removeNativeEventListener, removeNativeEventListener, setEventListenerscast, getOwnPropertyNames, hasOwnProperty, observeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNativeStyle@JsOverlay public final String getText()
@JsOverlay public final void setText(String text)
@JsOverlay public final void setX(double x)
@JsOverlay public final void setY(double y)
@JsOverlay public final void setTextAnchor(TextAnchor textAnchor)
@JsOverlay public final void setStroke(Stroke stroke)
@JsOverlay public final void setFill(Fill<?> fill)
@JsOverlay public final void setFont(Font font)
@JsProperty(name="nearestViewportElement") public SVGElement<?> getNearestViewportElement()
getNearestViewportElement in interface SVGLocatable@JsProperty(name="farthestViewportElement") public SVGElement<?> getFarthestViewportElement()
getFarthestViewportElement in interface SVGLocatablepublic SVGRect getBBox()
getBBox in interface SVGLocatablepublic SVGMatrix getCTM()
getCTM in interface SVGLocatablepublic SVGMatrix getScreenCTM()
getScreenCTM in interface SVGLocatablepublic SVGMatrix getTransformToElement(SVGElement<?> element)
getTransformToElement in interface SVGLocatable@JsProperty(name="transform") public SVGAnimatedTransformList getTransform()
getTransform in interface SVGTransformablepublic CSSValue getPresentationAttribute(String name)
getPresentationAttribute in interface SVGStylable@JsProperty(name="externalResourcesRequired") public SVGAnimatedBoolean getExternalResourcesRequired()
getExternalResourcesRequired in interface SVGExternalResourcesRequired@JsProperty(name="xmllang") public String getXmlLang()
getXmlLang in interface SVGLangSpace@JsProperty(name="xmllang") public void setXmlLang(String xmlLang)
setXmlLang in interface SVGLangSpace@JsProperty(name="xmlspace") public String getXmlSpace()
getXmlSpace in interface SVGLangSpace@JsProperty(name="xmlspace") public void setXmlSpace(String xmlSpace)
setXmlSpace in interface SVGLangSpace@JsProperty(name="requiredFeatures") public SVGStringList getRequiredFeatures()
getRequiredFeatures in interface SVGTests@JsProperty(name="requiredExtensions") public SVGStringList getRequiredExtensions()
getRequiredExtensions in interface SVGTests@JsProperty(name="systemLanguage") public SVGStringList getSystemLanguage()
getSystemLanguage in interface SVGTestspublic boolean hasExtension(String extension)
hasExtension in interface SVGTests@JsProperty(name="textLength") public SVGAnimatedLength getTextLength()
getTextLength in interface SVGTextContentElement@JsProperty(name="lengthAdjust") public SVGAnimatedEnumeration getLengthAdjust()
getLengthAdjust in interface SVGTextContentElementpublic int getNumberOfChars()
getNumberOfChars in interface SVGTextContentElementpublic double getComputedTextLength()
getComputedTextLength in interface SVGTextContentElementpublic double getSubStringLength(int charnum,
int nchars)
getSubStringLength in interface SVGTextContentElementpublic SVGPoint getStartPositionOfChar(int charnum)
getStartPositionOfChar in interface SVGTextContentElementpublic SVGPoint getEndPositionOfChar(int charnum)
getEndPositionOfChar in interface SVGTextContentElementpublic SVGRect getExtentOfChar(int charnum)
getExtentOfChar in interface SVGTextContentElementpublic double getRotationOfChar(int charnum)
getRotationOfChar in interface SVGTextContentElementpublic int getCharNumAtPosition(SVGPoint point)
getCharNumAtPosition in interface SVGTextContentElementpublic void selectSubString(int charnum,
int nchars)
selectSubString in interface SVGTextContentElement@JsProperty(name="x") public SVGAnimatedLengthList x()
x in interface SVGTextPositioningElement@JsProperty(name="y") public SVGAnimatedLengthList y()
y in interface SVGTextPositioningElement@JsProperty(name="dx") public SVGAnimatedLengthList dx()
dx in interface SVGTextPositioningElement@JsProperty(name="dy") public SVGAnimatedLengthList dy()
dy in interface SVGTextPositioningElement@JsProperty(name="rotate") public SVGAnimatedNumberList rotate()
rotate in interface SVGTextPositioningElementCopyright © 2018 Xalys. All rights reserved.