Functions

Label(init) Constructor
Label:draw() Draw the label
Label:set_size(v) Set the font size

Functions

Label(init)

Constructor

Parameters:

init Constructor properties
init.label The text label to show
init.size The font size (default 10)
Label:draw()

Draw the label

Label:set_size(v)

Set the font size

Parameters:

v The size