LabeledGraphics

A labeled graphics extends the PIXI.Graphics class with an ensureLabel method that allows to place and reuse labels, i.e. PIXI.Text objects. The labels are cached by a given key and only rendered anew if necessary.

JavaScript API

Let's look at an example:


What you should see: A box with a label.