drawText

fnvoid drawText(string text, int x, int y)

Draws text at a position.

The position specifies the baseline of the text.

Parameters

textText to draw
xX position
yY position (baseline) Example:
font(Font.helvetica, 12);
color(0, 0, 0);
drawText("Hello, World!", 10, 50);