pixi-jsFunctions
Function: getFontCss()
> getFontCss(fontFamilies): Promise<string>
Defined in: node_modules/pixi.js/lib/scene/text-html/utils/getFontCss.d.ts:10
Internal
takes the font families and returns a css string that can be injected into a style tag It will contain the font families and the font urls encoded as base64
Parameters
fontFamilies
string[]
The font families to load
Returns
Promise<string>
- The css string