Graphics.FillRectangles
FillRectangles(Brush, Rectangle[])
Fills the interiors of a series of rectangles specified by Rectangle structures.
public void FillRectangles(Brush brush, Rectangle[] rects)
| Parameter | Type | Description |
|---|
| brush | Brush | Brush that determines the characteristics of the fill. |
| rects | Rectangle[] | Array of Rectangle structures that represent the rectangles to fill. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | brush is null or rects is null. |
See Also
FillRectangles(Brush, RectangleF[])
Fills the interiors of a series of rectangles specified by RectangleF structures.
public void FillRectangles(Brush brush, RectangleF[] rects)
| Parameter | Type | Description |
|---|
| brush | Brush | Brush that determines the characteristics of the fill. |
| rects | RectangleF[] | Array of Rectangle structures that represent the rectangles to fill. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | brush is null or rects is null. |
See Also