FolderFontSource
Contents
[
Hide
]FolderFontSource class
Represents the folder that contains TrueType font files.
class FolderFontSource extends FontSourceBase;
Constructors
Constructor | Description |
---|---|
constructor(FontSourceBase) | Constructs from a parent object convertible to this. |
constructor(string, boolean) | Ctor. |
Properties
Property | Type | Description |
---|---|---|
folderPath | string | Readonly. Path to fonts folder. |
scanSubFolders | boolean | Readonly. Determines whether or not to scan the subfolders. |
Methods
Method | Description |
---|---|
getFolderPath() | @deprecated. Please use the ‘folderPath’ property instead. Path to fonts folder. |
getScanSubFolders() | @deprecated. Please use the ‘scanSubFolders’ property instead. Determines whether or not to scan the subfolders. |
isNull() | Checks whether the implementation object is null. |
getType() | Returns the type of the font source. |
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. |
folderPath
Readonly. Path to fonts folder.
folderPath : string;
scanSubFolders
Readonly. Determines whether or not to scan the subfolders.
scanSubFolders : boolean;
getFolderPath()
@deprecated. Please use the ‘folderPath’ property instead. Path to fonts folder.
getFolderPath() : string;
getScanSubFolders()
@deprecated. Please use the ‘scanSubFolders’ property instead. Determines whether or not to scan the subfolders.
getScanSubFolders() : boolean;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;
getType()
Returns the type of the font source.
getType() : FontSourceType;
Returns