xtd 0.2.0
Loading...
Searching...
No Matches

◆ draw_rounded_rectangle() [3/4]

void xtd::drawing::graphics::draw_rounded_rectangle ( const xtd::drawing::pen pen,
int32  x,
int32  y,
int32  width,
int32  height,
int32  radius 
)

Draws a rounded rectangle specified by a coordinate pair, a width, and a height, and radius.

Parameters
penA xtd::drawing::pen that determines the color, width, and style of the rounded rectangle.
xThe x-coordinate of the upper-left corner of the rounded rectangle to draw.
yThe y-coordinate of the upper-left corner of the rounded rectangle to draw.
widthThe width of the rounded rectangle to draw.
heightThe height of the rounded rectangle to draw.
radiusThe radius of the rounded rectange angles.