-
Notifications
You must be signed in to change notification settings - Fork 2
Text
Crutiatix edited this page Apr 29, 2017
·
8 revisions
Table containing attributes defining appearance of element's text.
- Attribute of:
- Attributes:
- print = [string] - can be multiline
- font = [bool] (false) - if true use font() instead print()
- gap = [number] (5) - width of a space character. Has a effect if font is true.
- height = [number] (font and 8 or 6) - line height. It affects space between lines.
- key = [table] ({colors,-1}) - which colors to change, 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.
- align = [table] - Table containg keys x and y defining horizontal and vertical align
- colors = [table] - if font is true, can contain tables of colors
- shadow = [table]
- offset = [table]
- v0.7.0
- key became table
- colors can contain tables of colors if font is used
- v0.6.0
- removed center
- added align
- renamed space to gap
- renamed spacing to height
- renamed display to print