Replies: 1 comment 1 reply
-
const text = new PIXI.HTMLText(
'Hello, <span style="color: #F10061">PixiJS</span>!',
{ fontSize: 32, fill: 0xFFFFFF });
app.stage.addChild(text); Demo: https://pixiplayground.com/#/edit/xm3ONb8ibfvpZU2tH5rRt |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
pixi7.2.4。
let renderer = PIXI.autoDetectRenderer(800, 600);
let stage = new PIXI.Container();
Beta Was this translation helpful? Give feedback.
All reactions