Description:
Parameter | Range | Description |
---|---|---|
textString | Unicode symbols encoded in UTF8 | text to be output |
Writes a string to the current cursor position. Note that each byte of the string will be interpreted as ASCII code. The following example demonstrates the difference between this method and Draw.writeText(String).
// UTF8 code for "∀" is 0xE2 0x88 0x80
Draw.writeASCIIText("∀"); // prints 3 characters according to the definition in the current font for 0xE2, 0x88 and 0x80.
Draw.writeText("∀"); // prints "∀" if defined in the current font or SPACE
Note
Example
Draw.writeASCIIText("Hello World!");
Writes "Hello World!" to the screen at the current cursor position and with the currently selected font and attributes.
See also:
Draw.writeText(String)
Draw.writeTextMessage(int)
Control.setCursorPosition(int, int)
Attribute.setFont(int)
Control.getUnicodeTextExtent(String)
ANSI Support
Attribute
Copyright © demmel products gmbh. All rights reserved.