W3cubDocs

/Haxe JavaScript

TextContentElement

package js.html.svg

extends GraphicsElementElementDOMElementNodeEventTarget

extended by TextPathElement, TextPositioningElement

@:native("SVGTextContentElement") Available on js

Variables

read only lengthAdjust:AnimatedEnumeration

read only textLength:AnimatedLength

Methods

getCharNumAtPosition (point:Point):Int

getComputedTextLength ():Float

getEndPositionOfChar (charnum:Int):Point

Throws:

null DOMError

getExtentOfChar (charnum:Int):Rect

Throws:

null DOMError

getNumberOfChars ():Int

getRotationOfChar (charnum:Int):Float

Throws:

null DOMError

getStartPositionOfChar (charnum:Int):Point

Throws:

null DOMError

getSubStringLength (charnum:Int, nchars:Int):Float

Throws:

null DOMError

selectSubString (charnum:Int, nchars:Int):Void

Throws:

null DOMError

Static variables

@:value(1) static inline read only LENGTHADJUST_SPACING:Int = 1

@:value(2) static inline read only LENGTHADJUST_SPACINGANDGLYPHS:Int = 2

@:value(0) static inline read only LENGTHADJUST_UNKNOWN:Int = 0

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/svg/TextContentElement.html