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
Type: size_t

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

yStart
Type: size_t

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

xEnd
Type: size_t

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

yEnd
Type: size_t

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

cornerWidth
Type: size_t

The width of the corner.

cornerHeight
Type: size_t

The height of the corner.

Meta