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

◆ fill_rectangle() [4/4]

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

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

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