TextFormat
Availability
Flash Player 6.
Description
Represents character formatting information.
A TextFormat object must be created before calling its methods.
When applying a TextFormat object to a text field using “TextField.setTextFormat()”, only its defined properties are applied; all other undefined aspects remain unchanged.
When “TextField.getTextFormat()” is invoked, a TextFormat object is returned with all of its properties defined; no property is null.
Methods
getTextExtent
Properties
align blockIndent bold bullet color font indent italic leading leftMargin rightMargin size tabStops target underline url