ZForms documentation/Label

A simple button element. Can be used for runtime-composited multi-texture buttons or single-texture.

Usage
Configures the label's member variables.

Parameters

 * text: The text to display.
 * fnt: The font to draw the text with.
 * wrap: Whether word-wrapping is enabled.
 * autoSize: Whether the element should automatically resize itself to fit the text.
 * textScale: The value to scale the text by.
 * textColor: The text's color.

Usage
Configures the label's member variables.

Parameters

 * pos: The element's XY coords.
 * size: The element's size.
 * text: The text to display.
 * fnt: The font to draw the text with.
 * wrap: Whether word-wrapping is enabled.
 * autoSize: Whether the element should automatically resize itself to fit the text.
 * textScale: The value to scale the text by.
 * textColor: The text's color.