NK Label is used to display static text
init(x, y, width, height, value)
Initializes NKLabel with it's frame and initial value, this method is mandatory to call right after class creation.
show()
Shows initialized toolbar
hide()
Hides initialized label on the current view
setString(newValue)
Sets new value to the label's text
setTextFontSize(size)
sets the font size for initialized label
setTextColor(r, g, b)
Sets the color of the text using red, green and blue components (0 - 255)
var label = new NKLabel();
label.init(20, 20, 280, 70, "This is a label");
label.setTextFontSize(20);
label.setTextColor(0, 0, 0);
label.show();