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 only firstInvalidLine:TextLine

read only firstLine:TextLine

read only lastLine:TextLine

lineRotation:TextRotation

tabStops:Vector<TabStop>

textJustifier:TextJustifier

read only textLineCreationResult: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–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/flash/text/engine/TextBlock.html