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

◆ fill_rounded_rectangle() [4/4]

void xtd::drawing::graphics::fill_rounded_rectangle ( const xtd::drawing::brush brush,
float  x,
float  y,
float  width,
float  height,
float  radius 
)

Fills the interior of a rounded rectangle specified by a pair of coordinates, a width, a height, and a radius.

Parameters
brushxtd::drawing::brush that determines the characteristics of the fill.
xThe x-coordinate of the upper-left corner of the rounded rectangle to fill.
yThe y-coordinate of the upper-left corner of the rounded rectangle to fill.
widthWidth of the rounded rectangle to fill.
heightHeight of the rounded rectangle to fill.
radiusThe radius of the rounded rectange angles.
Remarks
This method fills the interior of the rounded rectangle defined by the x, y, width, height, and radius parameters, including the specified upper-left corner and up to the calculated lower and bottom edges.