Drw.text

Render some text to the display using the current font.

struct Drw
void
text
(
int x
,
int y
,
uint w
,
uint h
,
in string text
,
int invert
)

Parameters

x
Type: int

Left edge of the text area

y
Type: int

Top of the text area

w
Type: uint

Width of the text area

h
Type: uint

Height of the text area

text
Type: string

Text to write

invert
Type: int

true the text bg/fg coluors will be inverted

Examples

drw.text(10, 10, 100, 100, "this is a test", false);

Meta