textSize()
Purpose
Sets the size of text
Description
Sets the default text size (height) to be used by the print functions
Syntax
textSize( size )
Arguments
size The size (height) of text to be used by print and printat functions
Example
message = "Hello World"
for size = 1 to 200 step 1 loop
clear()
textSize( size )
tw = textWidth( message )
drawText( ( gWidth() - tw ) / 2, ( gHeight() - size ) / 2, size, white, message )
update()
repeat
Associated Commands
cursor(), drawText(), ink(), len(), print(), printAt(), stringHash(), tHeight(), tWidth()