You create a label the same way you create a UIElement but the advantages is that you can get and set text easily.
var label = new Label(); label.build(); label.className("label"); label.width(230); label.text("This is a Label"); this.addChild(label);
There was an error while loading. Please reload this page.