Skip to content
Benedict Allen edited this page Nov 17, 2015 · 4 revisions

Text Class

The Text is an object with word wrapped text.

Extends Sheet

Style options

  • colour - The background colour.
  • textColour - The text colour.
  • horizontal-alignment - The horizontal alignment.
  • vertical-alignment - The vertical alignment.

Constructor

Text( number x, number y, number width, number height, string text )

Implements

Callbacks

Note, this element uses the onPreDraw() callback of Sheet.

Clone this wiki locally