## Graphics::FillRectangles(const SharedPtr\<Brush\>\&, const ArrayPtr\<Rectangle\>\&) method


使用指定的画笔填充一系列矩形。

```cpp
void System::Drawing::Graphics::FillRectangles(const SharedPtr<Brush> &brush, const ArrayPtr<Rectangle> &rects)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 画刷 | const SharedPtr\<Brush\>\& | 用于填充矩形的画刷 |
| rects | const ArrayPtr\<Rectangle\>\& | [Array](../../../system/array/) 用于绘制的矩形数组 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Brush](../../brush/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Rectangle](../../rectangle/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::FillRectangles(const SharedPtr\<Brush\>\&, const ArrayPtr\<RectangleF\>\&) method


使用指定的画笔填充一系列矩形。

```cpp
void System::Drawing::Graphics::FillRectangles(const SharedPtr<Brush> &brush, const ArrayPtr<RectangleF> &rects)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| 画刷 | const SharedPtr\<Brush\>\& | 用于填充矩形的画刷 |
| rects | const ArrayPtr\<RectangleF\>\& | [Array](../../../system/array/) 用于绘制的矩形数组 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Brush](../../brush/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [RectangleF](../../rectanglef/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
