FolderFontSource
Contents
[
Hide
]FolderFontSource class
Represents the folder that contains TrueType font files.
class FolderFontSource extends FontSourceBase;
Constructors
Name | Description |
---|---|
constructor(FontSourceBase) | Constructs from a parent object convertible to this. |
constructor(string, boolean) | Ctor. |
Methods
Method | Description |
---|---|
getFolderPath() | Path to fonts folder. |
getScanSubFolders() | Determines whether or not to scan the subfolders. |
getType() | Returns the type of the font source. |
isNull() | Checks whether the implementation object is null. |
constructor(FontSourceBase)
Constructs from a parent object convertible to this.
constructor(obj: FontSourceBase);
Parameters:
Parameter | Type | Description |
---|---|---|
obj | FontSourceBase | The parent object. |
constructor(string, boolean)
Ctor.
constructor(folderPath: string, scanSubfolders: boolean);
Parameters:
Parameter | Type | Description |
---|---|---|
folderPath | string | path to fonts folder |
scanSubfolders | boolean | Determines whether or not to scan subfolders. |
getFolderPath()
Path to fonts folder.
getFolderPath() : string;
getScanSubFolders()
Determines whether or not to scan the subfolders.
getScanSubFolders() : boolean;
getType()
Returns the type of the font source.
getType() : FontSourceType;
Returns
isNull()
Checks whether the implementation object is null.
isNull() : boolean;