Constructor

@:value({ baselineFontSize : 12, applyNonLinearFontScaling : true, bidiLevel : 0 })new(?content:ContentElement, ?tabStops:Vector<TabStop>, ?textJustifier:TextJustifier, ?lineRotation:TextRotation, ?baselineZero:TextBaseline, bidiLevel:Int = 0, applyNonLinearFontScaling:Bool = true, ?baselineFontDescription:FontDescription, baselineFontSize:Float = 12)

Variables

@:flash.propertybaselineFontSize:Float

@:flash.propertybaselineZero:TextBaseline

@:flash.propertybidiLevel:Int

@:flash.propertycontent:ContentElement

@:flash.propertyread onlyfirstInvalidLine:TextLine

@:flash.propertyread onlyfirstLine:TextLine

@:flash.propertyread onlylastLine:TextLine

@:flash.propertylineRotation:TextRotation

@:flash.propertytabStops:Vector<TabStop>

Methods

@:value({ fitSomething : false, lineOffset : 0, width : 1000000 })createTextLine(?previousLine:TextLine, width:Float = 1000000, lineOffset:Float = 0, fitSomething:Bool = false):TextLine

findNextAtomBoundary(afterCharIndex:Int):Int

findNextWordBoundary(afterCharIndex:Int):Int

@:value({ fitSomething : false, lineOffset : 0, width : 1000000 })@:require(flash10_1)recreateTextLine(textLine:TextLine, ?previousLine:TextLine, width:Float = 1000000, lineOffset:Float = 0, fitSomething:Bool = false):TextLine

@:require(flash10_1)releaseLineCreationData():Void

releaseLines(firstLine:TextLine, lastLine:TextLine):Void