-
Notifications
You must be signed in to change notification settings - Fork 2
Text
Crutiatix edited this page May 6, 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()
- key = [table] ({colors,-1}) - which colors to change, colorkey - a color which will be transparent/removed. Has a effect if font is true.
- space = [table] (w=8,h=8) - horizontal size of space and vertical of line
- fixed = [bool] (false) - Define if a characters should have fixed width. Has a effect if font is false.
- scale = [number] (1) - Scale of text
- 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.8.0
- added scale
- replaced gap and height for space.w and space.h
- 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