SDK Documentation & Reference.Documentation Pdf



NKLabel


Overview

NKLabel class 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 control (not creating)

hide()

hides control (not destroying)

setString(value)

sets string value in control

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]