FileFontSource
Contents
[
Hide
]FileFontSource class
Represents the single TrueType font file stored in the file system.
class FileFontSource extends FontSourceBase;
Constructors
Name | Description |
---|---|
constructor(FontSourceBase) | Constructs from a parent object convertible to this. |
constructor(string) | Ctor. |
Methods
Method | Description |
---|---|
getFilePath() | Path to font file. |
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)
Ctor.
constructor(filePath: string);
Parameters:
Parameter | Type | Description |
---|---|---|
filePath | string | path to font file |
getFilePath()
Path to font file.
getFilePath() : string;
getType()
Returns the type of the font source.
getType() : FontSourceType;
Returns
isNull()
Checks whether the implementation object is null.
isNull() : boolean;