Draws a string of text on the display using the "CoolFont" graphic sheet
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax public void DrawText(
string text,
int x,
int y
)
Parameters
- text
- Type: SystemString
String to be drawn. Embedded line feeds (\n) are the only cause for line breaks. - x
- Type: SystemInt32
Horizontal coordinate relative to the top left corner of the display where drawing begins. - y
- Type: SystemInt32
Vertical coordinate relative to the top left corner of the display where drawing begins.
Remarks An error will occur if there is no "CoolFont" graphic sheet in the project.
This function is only a very basic implementation of text drawing intended for debugging purposes.
For more full-featured text support, see the
ShowMessage(String) rule function.
See Also