IRenderer.roundrect

Draws a rectangle with rounded edges. (Rendering is available only through hardware acceleration).

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

Parameters

position Vecf

Position roundrectangle.

width uint

Width roundrectangle.

height uint

Height roundrectangle.

radius float

Radius rounded edges.

color Color!ubyte

Color roundrect.

isFill bool

Roundrect is filled color?

Meta