Skip to main content

Class: SVGFontLoader

Constructors​

constructor​

• new SVGFontLoader(document)

Parameters​

NameType
documentDocument

Defined in​

src/SVGFontLoader.ts:6

Properties​

loaded​

• loaded: boolean = false

Defined in​

src/SVGFontLoader.ts:4


document​

• Private Readonly document: Document

Defined in​

src/SVGFontLoader.ts:7

Methods​

load​

â–¸ load(fontFamily, url): Promise<void>

Parameters​

NameType
fontFamilystring
urlstring

Returns​

Promise<void>

Defined in​

src/SVGFontLoader.ts:12