LogoPixi’VN
pixi-jsFunctions

Function: getPlainText()

> getPlainText(text, style): string

Defined in: node_modules/pixi.js/lib/scene/text/canvas/utils/parseTaggedText.d.ts:47

Internal

Extracts plain text from tagged text (strips all tags). Useful for cache keys and debugging.

Parameters

text

string

The tagged text

style

TextStyle

The TextStyle containing tagStyles

Returns

string

Plain text with tags removed