A collection of fonts.
Go to Property Listing | Method Listing
Property |
Type |
Access |
Description |
---|---|---|---|
Int |
readonly |
Number of elements in the collection. |
|
readonly |
The object's container. |
||
readonly |
The class name of the object. |
TextFont getByName (name:String)
Get the first element in the collection with the provided name.
Parameter |
Type |
Description |
---|---|---|
name |
String getCurrentFont ()
Returns the current font name.
TextFont getFontByName (fontName:String)
Get the Text Font with the font name , if not avaiable it will create the substitute font.
Parameter |
Type |
Description |
---|---|---|
fontName |
The name of the font to find or create substitute. |
Boolean isFontAvailable (fontName:String)
Check if any original font is present with the given name.
Parameter |
Type |
Description |
---|---|---|
fontName |
The name of the font to find. |
Application.textFonts