W3cubDocs

/Haxe JavaScript

TextContentElement

package js.html.svg

extends GraphicsElementElementDOMElementNodeEventTarget

extended by TextPathElement, TextPositioningElement

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

static inline read only LENGTHADJUST_SPACING:Int = 1

static inline read only LENGTHADJUST_SPACINGANDGLYPHS:Int = 2

static inline read only LENGTHADJUST_UNKNOWN:Int = 0

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