IRenderer.rectangle

Drawing a rectangle.

interface IRenderer
@safe @safe
void
rectangle
(,
uint width
,
uint height
,
Color!ubyte color
,
bool isFill
)

Parameters

position Vecf

Rectangle position.

width uint

Rectangle width.

height uint

Rectangle height.

color Color!ubyte

Rectangle color.

isFill bool

Whether to fill the rectangle with color.

Meta