package flash.text.engine
Available on flash
new(?content:ContentElement, ?tabStops:Vector<TabStop>, ?textJustifier:TextJustifier, ?lineRotation:TextRotation, ?baselineZero:TextBaseline, bidiLevel:Int = 0, applyNonLinearFontScaling:Bool = true, ?baselineFontDescription:FontDescription, baselineFontSize:Float = 12)applyNonLinearFontScaling:BoolbaselineFontDescription:FontDescriptionbaselineFontSize:FloatbaselineZero:TextBaselinebidiLevel:Intcontent:ContentElementread onlyfirstInvalidLine:TextLineread onlyfirstLine:TextLineread onlylastLine:TextLinelineRotation:TextRotationtabStops:Vector<TabStop>textJustifier:TextJustifierread onlytextLineCreationResult:TextLineCreationResultuserData:DynamiccreateTextLine(?previousLine:TextLine, width:Float = 1000000, lineOffset:Float = 0, fitSomething:Bool = false):TextLinedump():StringfindNextAtomBoundary(afterCharIndex:Int):IntfindNextWordBoundary(afterCharIndex:Int):IntfindPreviousAtomBoundary(beforeCharIndex:Int):IntfindPreviousWordBoundary(beforeCharIndex:Int):IntgetTextLineAtCharIndex(charIndex:Int):TextLinerecreateTextLine(textLine:TextLine, ?previousLine:TextLine, width:Float = 1000000, lineOffset:Float = 0, fitSomething:Bool = false):TextLinereleaseLineCreationData():VoidreleaseLines(firstLine:TextLine, lastLine:TextLine):Void
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/text/engine/TextBlock.html