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

◆ fill_rectangle() [1/4]

void xtd::drawing::graphics::fill_rectangle ( const xtd::drawing::brush brush,
const xtd::drawing::rectangle rect 
)

Fills the interior of a rectangle specified by a xtd::drawing::rectangle structure.

Parameters
brushxtd::drawing::brush that determines the characteristics of the fill.
rectxtd::drawing::rectangle structure that represents the rectangle to fill.
Remarks
This method fills the interior of the rectangle defined by the rect parameter, including the specified upper-left corner and up to the calculated lower and bottom edges.
Examples
graphics.cpp.