With the Label object you are able to add some text.
By default label's width is auto sizing based on the length of the text. If you change the size with setSize it will automatically stop autosizing the width.
Here are all possible functions available for labels.
Remember label inherits from object:
setText
sets the text which gets displayed.
arguments: string text
returns: self
setFontSize
sets the font size of that text.
arguments: number size (1 = default, 2 = big, 3 = bigger, 4 = huge)
returns: self
getFontSize
returns the fontsize
arguments:
returns: number