TextTool
TextTool is a special Object type for creating text labels in the game instance. It is the same text that is created with the text tool. You call these functions like this: self.TextTool.getFontColor()
.
Function Summary
Object Functions
Function Name | Description | Return |
---|---|---|
getFontColor() | Returns Table of font Color. | |
getFontSize() | Returns Int of the font size. | |
getValue() | Returns the current text. Works the same as Object's getValue(). | |
setFontColor( font_color) | Sets font Color. | |
setFontSize( font_size) | Sets font size. | |
setValue( text) | Sets the current text. Works the same as Object's setValue(...). |