ink()
Purpose
Set the ink colour for text printing
Description
Sets the default colour for text printing functions
Syntax
ink( colour )
Arguments
colour colour name or RGB values { red, green, blue, opacity } between 0 and 1
Example
hideKeyboard()
ink( red )
textSize( 50 )
message = "Hello World"
cursor( ( tWidth() - len( message ) ) / 2, tHeight() / 2 )
print( message )
update()
sleep( 3 )
Associated Commands
cursor(), drawText(), len(), print(), printAt(), stringHash(), textSize(), tHeight(), tWidth()