## FillRectangles(Brush, Rectangle[]) {#fillrectangles_1}

Fills the interiors of a series of rectangles specified by Rectangle structures.

```csharp
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. |

### See Also

* class [Brush](../../brush/)
* struct [Rectangle](../../rectangle/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)

---

## FillRectangles(Brush, RectangleF[]) {#fillrectangles}

Fills the interiors of a series of rectangles specified by RectangleF structures.

```csharp
public void FillRectangles(Brush brush, RectangleF[] rects)
```

| Parameter | Type | Description |
| --- | --- | --- |
| brush | Brush | Brush that determines the characteristics of the fill. |
| rects | RectangleF[] | Array of RectangleF structures that represent the rectangles to fill. |

### See Also

* class [Brush](../../brush/)
* struct [RectangleF](../../rectanglef/)
* class [Graphics](../)
* namespace [System.Drawing](../../graphics/)
* assembly [Aspose.Drawing](../../../)


