## AddRectangles(RectangleF[]) {#addrectangles}

Adds a series of rectangles to this path.

```csharp
public void AddRectangles(RectangleF[] rects)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rects | RectangleF[] | An array of RectangleF structures that represents the rectangles to add. |

### See Also

* struct [RectangleF](../../../system.drawing/rectanglef/)
* class [GraphicsPath](../)
* namespace [System.Drawing.Drawing2D](../../graphicspath/)
* assembly [Aspose.Drawing](../../../)

---

## AddRectangles(Rectangle[]) {#addrectangles_1}

Adds a series of rectangles to this path.

```csharp
public void AddRectangles(Rectangle[] rects)
```

| Parameter | Type | Description |
| --- | --- | --- |
| rects | Rectangle[] | An array of Rectangle structures that represents the rectangles to add. |

### See Also

* struct [Rectangle](../../../system.drawing/rectangle/)
* class [GraphicsPath](../)
* namespace [System.Drawing.Drawing2D](../../graphicspath/)
* assembly [Aspose.Drawing](../../../)


