LogoPixi’VN
pixi-jsFunctions

Function: loadFontAsBase64()

> loadFontAsBase64(url): Promise<string>

Defined in: node_modules/pixi.js/lib/scene/text-html/utils/loadFontAsBase64.d.ts:7

Internal

Resolves a font url to a base64 string

Parameters

url

string

The url to load the font from

Returns

Promise<string>

  • The font as a base64 string