CanvasItem.drawRect

Draws a colored rectangle.

struct CanvasItem
@nogc nothrow
void
drawRect
(
in Rect2 rect
,
in Color color
,
in bool filled = true
)

Meta