W3cubDocs

/Haxe Flash

TextLine

package flash.text.engine

extends DisplayObjectContainerInteractiveObjectDisplayObjectEventDispatcher

@:final Available on flash

Constructor

new ()

Variables

read only ascent:Float

read only atomCount:Int

read only descent:Float

read only hasGraphicElement:Bool

@:require(flash10_1) read only hasTabs:Bool

read only mirrorRegions:Vector<TextLineMirrorRegion>

read only nextLine:TextLine

read only previousLine:TextLine

read only rawTextLength:Int

read only specifiedWidth:Float

read only textBlock:TextBlock

read only textBlockBeginIndex:Int

read only textHeight:Float

read only textWidth:Float

read only totalAscent:Float

read only totalDescent:Float

read only totalHeight:Float

read only unjustifiedTextWidth: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

Static variables

static read only MAX_LINE_WIDTH:Int

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