-
Notifications
You must be signed in to change notification settings - Fork 2
Text
Crutiatix edited this page Apr 10, 2017
·
8 revisions
Table containing attributes defining appearance of element's text.
- Attribute of:
- Attributes:
- display = [string] - can be multiline
- font = [bool] (false) - if true use font() else print()
- space = [number] (5) - width of a space character. Has a effect if font is true.
- spacing = [number] (font and 8 or 6) - line height. It affects space between lines.
- key = [number] (-1) - colorkey. A color which will be transparent/removed. Has a effect if font is true.
- fixed = [bool] (false) - Define if a characters should have fixed width. Has a effect if font is false.
- center = [bool] (false) - Define if text should be centered in vertical and horizontal axis
- colors = [table]
- shadow = [table]
- offset = [table]