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 int

Left edge of the text area

y int

Top of the text area

w uint

Width of the text area

h uint

Height of the text area

text string

Text to write

invert int

true the text bg/fg coluors will be inverted

Examples

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

Meta