drawBox

fnvoid drawBox(int boxtype, int x, int y, int w, int h, uint c) nothrow @nogc

Draws a box with the specified type and color.

Parameters

boxtypeBox type (use BoxType enum from types module)
xX coordinate
yY coordinate
wWidth
hHeight
cFill color