Label.js

Inherits from: CGUI.js

1 ) function: getText
2 ) function: setText


Object: Label

Object Description:
Example:


Constructor: Label
  • Parameter
    : x - x coordinate relative to parent
y - y coordinate relative to parent
width - width of label
height - height of label
text - text to display in label
iColor - this is the color of the text to be displayed (added NVS)


Method: getText
Description: get the text of this label


Method: setText
Description: Set the text for this label