DrawingContext.roundRectangle

Draw a rectangle with rounded corners.

class DrawingContext
void
roundRectangle
(
size_t xStart
,
size_t yStart
,
size_t xEnd
,
size_t yEnd
,,)

Parameters

xStart size_t

The x coordinate for the upper left hand corner of the rectangle.

yStart size_t

The y coordinate for the upper left hand corner of the rectangle.

xEnd size_t

The x coordinate for the lower left hand corner of the rectangle.

yEnd size_t

The y coordinate for the lower left hand corner of the rectangle.

cornerWidth size_t

The width of the corner.

cornerHeight size_t

The height of the corner.

Meta