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


Riempie il rettangolo specificato con il pennello specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un oggetto [Brush](../../brush/) da utilizzare per il riempimento |
| x | float | La coordinata X dell'angolo superiore sinistro del rettangolo da riempire |
| y | float | La coordinata Y dell'angolo superiore sinistro del rettangolo da riempire |
| width | float | La larghezza del rettangolo da riempire |
| height | float | L'altezza del rettangolo da riempire |

## Vedi anche

* 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


Riempie il rettangolo specificato con il pennello specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un oggetto [Brush](../../brush/) da utilizzare per il riempimento |
| x | int | La coordinata X dell'angolo superiore sinistro del rettangolo da riempire |
| y | int | La coordinata Y dell'angolo superiore sinistro del rettangolo da riempire |
| width | int | La larghezza del rettangolo da riempire |
| height | int | L'altezza del rettangolo da riempire |

## Vedi anche

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


Riempie il rettangolo specificato con il pennello specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un oggetto [Brush](../../brush/) da utilizzare per il riempimento |
| rect | Rectangle | Un oggetto [Rectangle](../../rectangle/) che specifica la posizione e le dimensioni del rettangolo da riempire |

## Vedi anche

* 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


Riempie il rettangolo specificato con il pennello specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un oggetto [Brush](../../brush/) da utilizzare per il riempimento |
| rect | RectangleF | Un oggetto [RectangleF](../../rectanglef/) che specifica la posizione e le dimensioni del rettangolo da riempire |

## Vedi anche

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