跳转到内容

stylesToArray

stylesToArray(styles, text): TextStyleArray

Parameters

styles: TextStyle

per character styles for a text object

text: string

the text string that the styles are applied to

Returns

TextStyleArray

Defined in

src/util/misc/textStyles.ts:48