## GraphicsPath::AddRectangles(const ArrayPtr\<Rectangle\>\&) method


向当前对象表示的路径添加指定的一系列矩形。

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddRectangles(const ArrayPtr<Rectangle> &rects)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| rects | const ArrayPtr\<Rectangle\>\& | 一个 [Rectangle](../../../system.drawing/rectangle/) 对象数组，表示要添加的矩形。 |

## 另见

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Rectangle](../../../system.drawing/rectangle/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.Font for C++](../../../)
## GraphicsPath::AddRectangles(const ArrayPtr\<RectangleF\>\&) method


向当前对象表示的路径添加指定的一系列矩形。

```cpp
void System::Drawing::Drawing2D::GraphicsPath::AddRectangles(const ArrayPtr<RectangleF> &rects)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| rects | const ArrayPtr\<RectangleF\>\& | 一个 [RectangleF](../../../system.drawing/rectanglef/) 对象数组，表示要添加的矩形。 |

## 另见

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [RectangleF](../../../system.drawing/rectanglef/)
* Class [GraphicsPath](../)
* Namespace [System::Drawing::Drawing2D](../../)
* Library [Aspose.Font for C++](../../../)
