|
a2Text
This command draws text on the screen.
a2Text fontID, x, y, text, color
fontID
Integer
This value specifies the Advanced 2D font used to display the text.
x
Integer
This value specifies the X coordinate for the text.
y
Integer
This value specifies the Y coordinate for the text.
text
String
This value specifies the text to be displayed.
color
Integer
This value is a 32 bit integer specifying alpha, red, green, and blue color values for the displayed text.
This command does not return a value.
This command draws text to the screen.
myFont = a2CreateFont("ariel", 30, a2Size_Char(), a2Style_Normal())
x = 10
y = 10
a$ = "The quick brown fox..."
color = 0xFFFFFFFF
a2Text myFont, x, y, a$, color
WAIT KEY
a2CreateFont
a2BoxText
Advanced 2D Index
Main Menu
|