Skip to main content

FontRegistry

Classes​

FontRegistry​

Implements​

Constructors​

Constructor​
new FontRegistry(textWhizz, designAtomsApiClient): FontRegistry;
Parameters​
ParameterType
textWhizzany
designAtomsApiClientIDesignAtomsApiClient
Returns​

FontRegistry

Accessors​

ready​
Get Signature​
get ready(): boolean;
Returns​

boolean

textWhizzFontRegistry​
Get Signature​
get textWhizzFontRegistry(): FontRegistry;
Returns​

FontRegistry

Methods​

checkFailedFonts()​
checkFailedFonts(psNames): boolean;
Parameters​
ParameterType
psNamesstring[]
Returns​

boolean

clear()​
clear(): void;
Returns​

void

containsFonts()​
containsFonts(psNames): boolean;
Parameters​
ParameterType
psNamesstring[]
Returns​

boolean

createFont()​
createFont(psName, size): Font;
Parameters​
ParameterType
psNamestring
sizenumber
Returns​

Font

loadFonts()​
loadFonts(psNames): Promise<void>;
Parameters​
ParameterType
psNamesstring[]
Returns​

Promise<void>

Type Aliases​

Request​

type Request = object;

Properties​

id​
id: string;
promise​
promise: Promise<void>;
Was this page helpful?