class flash.text.engine.TextBlock

Available on flash

Instance Fields

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

function createTextLine(?previousLine:TextLine, ?width:Float, ?lineOffset:Float, ?fitSomething:Bool):TextLine

function dump():String

function findNextAtomBoundary(afterCharIndex:Int):Int

function findNextWordBoundary(afterCharIndex:Int):Int

function findPreviousAtomBoundary(beforeCharIndex:Int):Int

function findPreviousWordBoundary(beforeCharIndex:Int):Int

function getTextLineAtCharIndex(charIndex:Int):TextLine

function recreateTextLine(textLine:TextLine, ?previousLine:TextLine, ?width:Float, ?lineOffset:Float, ?fitSomething:Bool):TextLine

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