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.

Zoomable Labels

Labeled graphics can also be used to represent zoomable text columns in more complex layouts. Use the mousewheel to zoom the following text column: