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


Rellena el rectángulo especificado con el pincel especificado.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un objeto [Brush](../../brush/) para usar al rellenar |
| x | float | La coordenada X de la esquina superior izquierda del rectángulo a rellenar |
| y | float | La coordenada Y de la esquina superior izquierda del rectángulo a rellenar |
| ancho | float | El ancho del rectángulo a rellenar |
| altura | float | La altura del rectángulo a rellenar |

## Ver también

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


Rellena el rectángulo especificado con el pincel especificado.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un objeto [Brush](../../brush/) para usar al rellenar |
| x | int | La coordenada X de la esquina superior izquierda del rectángulo a rellenar |
| y | int | La coordenada Y de la esquina superior izquierda del rectángulo a rellenar |
| ancho | int | El ancho del rectángulo a rellenar |
| altura | int | La altura del rectángulo a rellenar |

## Ver también

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


Rellena el rectángulo especificado con el pincel especificado.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un objeto [Brush](../../brush/) para usar al rellenar |
| rect | Rectangle | Un objeto [Rectangle](../../rectangle/) que especifica la ubicación y el tamaño del rectángulo a rellenar |

## Ver también

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


Rellena el rectángulo especificado con el pincel especificado.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Un objeto [Brush](../../brush/) para usar al rellenar |
| rect | RectangleF | Un objeto [RectangleF](../../rectanglef/) que especifica la ubicación y el tamaño del rectángulo a rellenar |

## Ver también

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