Sg2.0
FontList
Packages

The FontList object represents a list of FontFamily objects. Font lists are not created through a constructor, they're always accessed through the Application.fonts property.

Properties

Read-only.
Returns:
Boolean
Returns:
Object
Read-only.
Returns:

Functions

Gets a font family based on it's index in the font list.
Parameters:
index: Number
Returns:
Object
Gets a font family based on it's name in the font list.
Parameters:
name: String
Returns:
Object
Parameters:
fromIndex: Number
toIndex: Number
Returns:
ExtendedList
The amount of font families in the font list.
Returns:
Number