LogoPixi’VN
pixi-jsFunctions

Function: textStyleToCSS()

> textStyleToCSS(style): string

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

Internal

Internally converts all of the style properties into CSS equivalents.

Parameters

style

HTMLTextStyle

Returns

string

The CSS style string, for setting style property of root HTMLElement.