rect

fnvoid rect(int x, int y, int w, int h) nothrow @nogc

Draws an outlined rectangle.

Parameters

xX position of top-left corner
yY position of top-left corner
wWidth
hHeight Example:
color(0, 0, 255);  // Blue
rect(10, 10, 80, 60);  // Blue outline