pixi-jsInterfaces
Interface: FontCSSStyleOptions
Defined in: node_modules/pixi.js/lib/scene/text-html/utils/loadFontCSS.d.ts:6
Internal
Options for the font CSS style
Properties
fontFamily
> fontFamily: string | string[]
Defined in: node_modules/pixi.js/lib/scene/text-html/utils/loadFontCSS.d.ts:12
The font family to use in the CSS
Example
'Arial' or ['Arial', 'Helvetica']
fontStyle
> fontStyle: string
Defined in: node_modules/pixi.js/lib/scene/text-html/utils/loadFontCSS.d.ts:24
The font style to use in the CSS
Example
'normal', 'italic', 'oblique'
fontWeight
> fontWeight: string
Defined in: node_modules/pixi.js/lib/scene/text-html/utils/loadFontCSS.d.ts:18
The font weight to use in the CSS
Example
'normal', 'bold', '100', '200', etc.