| Method | Defined by | ||
|---|---|---|---|
|
changeTextFormatProps(tf:TextFormat, tfProps:Object):TextFormat
[static]
Changes individual property of a
TextFormat object
| TextUtil | ||
|
cloneTextFormat(tf:TextFormat):TextFormat
[static]
Creates a copy of a
TextFormat object
| TextUtil | ||
|
getTextHeight(textValue:String, tf:TextFormat):Number
[static]
Returns the height of a text field based on a
TextFormat object and a string to be displayed
| TextUtil | ||
|
getTextWidth(textValue:String, tf:TextFormat):Number
[static]
Returns the width of a text field based on a
TextFormat object and a string to be displayed
| TextUtil | ||
| changeTextFormatProps | () | method |
public static function changeTextFormatProps(tf:TextFormat, tfProps:Object):TextFormat
Changes individual property of a TextFormat object
tf:TextFormat |
|
tfProps:Object |
TextFormat |
| cloneTextFormat | () | method |
public static function cloneTextFormat(tf:TextFormat):TextFormat
Creates a copy of a TextFormat object
tf:TextFormat |
TextFormat |
| getTextHeight | () | method |
public static function getTextHeight(textValue:String, tf:TextFormat):Number
Returns the height of a text field based on a TextFormat object and a string to be displayed
textValue:String — The text
|
|
tf:TextFormat |
Number — Number
|
| getTextWidth | () | method |
public static function getTextWidth(textValue:String, tf:TextFormat):Number
Returns the width of a text field based on a TextFormat object and a string to be displayed
textValue:String — The text
|
|
tf:TextFormat |
Number — Number
|