Module primitive.object.text
Properties of the primitive.text object most of these properties are optional !
this is how GuiH defines text.
you can make a new text using guih.main_ui.text with the values below any text used on objects in GuiH needs to be represted like this !
Tables
properties | primitive.text OBJECT CREATION PROPERTIES |
Tables
- properties
-
primitive.text OBJECT CREATION PROPERTIES
Fields:
- text the text this object will represted
- x the x positions to draw the text at (optional)
- y the y positions to draw the text at (optional)
- centered should the text be centered (default in the middle of the entire screen) (optional)
- offset_x the x offset to draw the text at (optional)
- offset_y the y offset to draw the text at (optional)
- blit the blit data to draw the text with (optional)
- transparent should the text have transparent background (default false) (optional)
- bg the background color to draw the text with (optional)
- fg the foreground color to draw the text with (optional)
- width the width to center the text between. can be used to centering text within a box. default is fullscreen (optional)
- height the height to center the text between. can be used to centering text within a box. default is fullscreen (optional)