haXe API Documentation
Back | Index
extern class flash.text.engine.TextBlock
Available in flash9
var applyNonLinearFontScaling : Bool
var baselineFontDescription : FontDescription
var baselineFontSize : Float
var baselineZero : String
var bidiLevel : Int
var content : ContentElement
var firstInvalidLine(default,null) : TextLine
var firstLine(default,null) : TextLine
var glyphRotation : String
var lastLine(default,null) : TextLine
var lineRotation : String
var tabStops : flash.Vector<TabStop>
var textJustifier : TextJustifier
var textLineCreationResult(default,null) : String
var userData : Dynamic
function new(?content : ContentElement, ?tabStops : flash.Vector<TabStop>, ?textJustifier : TextJustifier, ?glyphRotation : String, ?lineRotation : String, ?baselineZero : String, ?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 releaseLines(firstLine : TextLine, lastLine : TextLine) : Dynamic
Back | Index