## FillRectangle(Brush, float, float, float, float) {#fillrectangle}

Remplit l'intérieur d'un rectangle spécifié par une paire de coordonnées, une largeur et une hauteur.

```csharp
public void FillRectangle(Brush brush, float x, float y, float width, float height)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| brush | Brush | Brush qui détermine les caractéristiques du remblai. |
| x | Single | Coordonnée x du coin supérieur gauche du rectangle à remplir. |
| y | Single | Coordonnée y du coin supérieur gauche du rectangle à remplir. |
| width | Single | Largeur du rectangle à remplir. |
| height | Single | Hauteur du rectangle à remplir. |

### Voir également

* class [Brush](../../brush)
* class [Graphics](../../graphics)
* espace de noms [System.Drawing](../../graphics)
* Assemblée [Aspose.Drawing](../../../)

---

## FillRectangle(Brush, RectangleF) {#fillrectangle_1}

Remplit l'intérieur d'un rectangle spécifié par une structure RectangleF.

```csharp
public void FillRectangle(Brush brush, RectangleF rect)
```

| Paramètre | Taper | La description |
| --- | --- | --- |
| brush | Brush | Pinceau qui détermine les caractéristiques du remplissage. |
| rect | RectangleF | Structure RectangleF qui représente le rectangle à remplir. |

### Voir également

* class [Brush](../../brush)
* struct [RectangleF](../../rectanglef)
* class [Graphics](../../graphics)
* espace de noms [System.Drawing](../../graphics)
* Assemblée [Aspose.Drawing](../../../)

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