DrawText()
Syntax
Result = DrawText(x, y, Text$ [, FrontColor [, BackColor]])Description
Display the given string on the current output at the given (x,y) coordinates. The current output is set with StartDrawing().
DrawingMode() can be used to set the transparent background mode. DrawingFont() can be used to set the font. This command uses the default colors set with FrontColor() and BackColor().
The new x position of the text cursor (ie: just after the last printed character) is returned in 'Result' to allow easy text concatenation, if requiered.
The 'FrontColor' and 'BackColor' are optionals parameters and can be used to override the colors set with FrontColor() and BackColor(). The current back and front colors aren't changed.
RGB() can be used to get a valid color value. A color table with common colors is available here.
Supported OS
All