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

Riempie gli interni di una serie di rettangoli specificati da[`Rectangle`](../../rectangle) strutture.

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| brush | Brush | [`Brush`](../../brush) che determina le caratteristiche del riempimento. |
| rects | Rectangle[] | Matrice di[`Rectangle`](../../rectangle) strutture che rappresentano i rettangoli da riempire. |

### Eccezioni

| eccezione | condizione |
| --- | --- |
| ArgumentNullException | *brush* è nullo o*rects* è zero. |

### Guarda anche

* class [Brush](../../brush)
* struct [Rectangle](../../rectangle)
* class [Graphics](../../graphics)
* spazio dei nomi [Aspose.Imaging](../../graphics)
* assemblea [Aspose.Imaging](../../../)

---

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

Riempie gli interni di una serie di rettangoli specificati da[`RectangleF`](../../rectanglef) strutture.

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

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| brush | Brush | [`Brush`](../../brush) che determina le caratteristiche del riempimento. |
| rects | RectangleF[] | Matrice di[`Rectangle`](../../rectangle) strutture che rappresentano i rettangoli da riempire. |

### Eccezioni

| eccezione | condizione |
| --- | --- |
| ArgumentNullException | *brush* è nullo o*rects* è zero. |

### Guarda anche

* class [Brush](../../brush)
* struct [RectangleF](../../rectanglef)
* class [Graphics](../../graphics)
* spazio dei nomi [Aspose.Imaging](../../graphics)
* assemblea [Aspose.Imaging](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Imaging.dll -->
