## Graphics::FillRectangle(const SharedPtr\<Brush\>\&, float, float, float, float) method


Remplit le rectangle spécifié avec le pinceau spécifié.

```cpp
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, float x, float y, float width, float height)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un objet [Brush](../../brush/) à utiliser pour le remplissage |
| x | float | La coordonnée X du coin supérieur gauche du rectangle à remplir |
| y | float | La coordonnée Y du coin supérieur gauche du rectangle à remplir |
| width | float | La largeur du rectangle à remplir |
| height | float | La hauteur du rectangle à remplir |

## Voir aussi

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


Remplit le rectangle spécifié avec le pinceau spécifié.

```cpp
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, int x, int y, int width, int height)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un objet [Brush](../../brush/) à utiliser pour le remplissage |
| x | int | La coordonnée X du coin supérieur gauche du rectangle à remplir |
| y | int | La coordonnée Y du coin supérieur gauche du rectangle à remplir |
| width | int | La largeur du rectangle à remplir |
| height | int | La hauteur du rectangle à remplir |

## Voir aussi

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


Remplit le rectangle spécifié avec le pinceau spécifié.

```cpp
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, Rectangle rect)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un objet [Brush](../../brush/) à utiliser pour le remplissage |
| rect | Rectangle | Un objet [Rectangle](../../rectangle/) qui spécifie l'emplacement et la taille du rectangle à remplir |

## Voir aussi

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


Remplit le rectangle spécifié avec le pinceau spécifié.

```cpp
void System::Drawing::Graphics::FillRectangle(const SharedPtr<Brush> &brush, RectangleF rect)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un objet [Brush](../../brush/) à utiliser pour le remplissage |
| rect | RectangleF | Un objet [RectangleF](../../rectanglef/) qui spécifie l'emplacement et la taille du rectangle à remplir |

## Voir aussi

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