@JsType(isNative=true, name="SVGTextElement", namespace="<global>") public class SVGTextElement extends SVGElement<SVGTextElement> implements SVGTextPositioningElement, SVGTransformable
EventTarget.Options
ACTIVE_BUBBLE, ACTIVE_CAPTURE, PASSIVE_BUBBLE, PASSIVE_CAPTURE, PASSIVE_SUPPORTED
LENGTHADJUST_SPACING, LENGTHADJUST_SPACINGANDGLYPHS, LENGTHADJUST_UNKNOWN
Constructor and Description |
---|
SVGTextElement() |
blur, focus, getOwnerSVGElement, getTabIndex, getViewportElement, setTabIndex
addClassName, 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, webkitRequestFullscreen
appendChild, 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, setTextContent
addEventListener, addEventListener, addEventListener, dispatchEvent, dispatchEvent, getEventListeners, removeEventListener, removeEventListener, removeEventListener, removeNativeEventListener, removeNativeEventListener, removeNativeEventListener, setEventListeners
cast, getOwnPropertyNames, hasOwnProperty, observe
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNativeStyle
@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 SVGLocatable
public SVGRect getBBox()
getBBox
in interface SVGLocatable
public SVGMatrix getCTM()
getCTM
in interface SVGLocatable
public SVGMatrix getScreenCTM()
getScreenCTM
in interface SVGLocatable
public SVGMatrix getTransformToElement(SVGElement<?> element)
getTransformToElement
in interface SVGLocatable
@JsProperty(name="transform") public SVGAnimatedTransformList getTransform()
getTransform
in interface SVGTransformable
public 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 SVGTests
public 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 SVGTextContentElement
public int getNumberOfChars()
getNumberOfChars
in interface SVGTextContentElement
public double getComputedTextLength()
getComputedTextLength
in interface SVGTextContentElement
public double getSubStringLength(int charnum, int nchars)
getSubStringLength
in interface SVGTextContentElement
public SVGPoint getStartPositionOfChar(int charnum)
getStartPositionOfChar
in interface SVGTextContentElement
public SVGPoint getEndPositionOfChar(int charnum)
getEndPositionOfChar
in interface SVGTextContentElement
public SVGRect getExtentOfChar(int charnum)
getExtentOfChar
in interface SVGTextContentElement
public double getRotationOfChar(int charnum)
getRotationOfChar
in interface SVGTextContentElement
public int getCharNumAtPosition(SVGPoint point)
getCharNumAtPosition
in interface SVGTextContentElement
public 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 SVGTextPositioningElement
Copyright © 2018 Xalys. All rights reserved.