TextLine

package flash.text.engine

extends DisplayObjectContainerInteractiveObjectDisplayObjectEventDispatcher

Available on flash

Static variables

staticfinalread onlyMAX_LINE_WIDTH:Int

Constructor

new()

Variables

read onlyascent:Float

read onlyatomCount:Int

read onlydescent:Float

read onlyhasGraphicElement:Bool

read onlyhasTabs:Bool

read onlymirrorRegions:Vector<TextLineMirrorRegion>

read onlynextLine:TextLine

read onlypreviousLine:TextLine

read onlyrawTextLength:Int

read onlyspecifiedWidth:Float

read onlytextBlock:TextBlock

read onlytextBlockBeginIndex:Int

read onlytextHeight:Float

read onlytextWidth:Float

read onlytotalAscent:Float

read onlytotalDescent:Float

read onlytotalHeight:Float

read onlyunjustifiedTextWidth:Float

userData:Dynamic

validity:String

Methods

dump():String

flushAtomData():Void

getAtomBidiLevel(atomIndex:Int):Int

getAtomBounds(atomIndex:Int):Rectangle

getAtomCenter(atomIndex:Int):Float

getAtomGraphic(atomIndex:Int):DisplayObject

getAtomIndexAtCharIndex(charIndex:Int):Int

getAtomIndexAtPoint(stageX:Float, stageY:Float):Int

getAtomTextBlockBeginIndex(atomIndex:Int):Int

getAtomTextBlockEndIndex(atomIndex:Int):Int

getAtomTextRotation(atomIndex:Int):String

getAtomWordBoundaryOnLeft(atomIndex:Int):Bool

getBaselinePosition(baseline:String):Float

getMirrorRegion(mirror:EventDispatcher):TextLineMirrorRegion

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/text/engine/TextLine.html