W3cubDocs

/Haxe Flash

TextBlock

package flash.text.engine

Available on flash

Constructor

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

Variables

applyNonLinearFontScaling:Bool

baselineFontDescription:FontDescription

baselineFontSize:Float

baselineZero:TextBaseline

bidiLevel:Int

content:ContentElement

read onlyfirstInvalidLine:TextLine

read onlyfirstLine:TextLine

read onlylastLine:TextLine

lineRotation:TextRotation

tabStops:Vector<TabStop>

textJustifier:TextJustifier

read onlytextLineCreationResult:TextLineCreationResult

userData:Dynamic

Methods

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

dump():String

findNextAtomBoundary(afterCharIndex:Int):Int

findNextWordBoundary(afterCharIndex:Int):Int

findPreviousAtomBoundary(beforeCharIndex:Int):Int

findPreviousWordBoundary(beforeCharIndex:Int):Int

getTextLineAtCharIndex(charIndex:Int):TextLine

recreateTextLine(textLine:TextLine, ?previousLine:TextLine, width:Float = 1000000, lineOffset:Float = 0, fitSomething:Bool = false):TextLine

releaseLineCreationData():Void

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

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