Skip to main content
Version: v7.x

Text

Props​

https://pixijs.download/dev/docs/PIXI.Text.html

Style Props​

https://pixijs.download/dev/docs/PIXI.TextStyle.html

Additional Props​

PropDefault ValueDescription
isSprite booleanfalserenders the text as a textured objects and returns it as sprite (much better performances if the text doesn't change often)

Note: isSprite establishes how the Text is rendered during its whole lifecycle after it's been mounted, therefore any change to the property later on won't have effect

Usage​

Example​