FillRectangle Method
FillRectangle(Brush, Rect)
Fills the interior of a rectangle specified by a Rect structure.
Declaration
public void FillRectangle(Brush brush, Rect rectangle)
Parameters
| Type | Name | Description |
|---|---|---|
| Brush | brush | Brush that determines the characteristics of the fill. |
| Rect | rectangle | Rect 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.