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


Füllt das angegebene Rechteck mit dem angegebenen Pinsel.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Ein [Brush](../../brush/) Objekt zum Füllen |
| x | float | Die X-Koordinate der oberen linken Ecke des auszufüllenden Rechtecks |
| y | float | Die Y-Koordinate der oberen linken Ecke des auszufüllenden Rechtecks |
| width | float | Die Breite des auszufüllenden Rechtecks |
| height | float | Die Höhe des auszufüllenden Rechtecks |

## Siehe auch

* 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


Füllt das angegebene Rechteck mit dem angegebenen Pinsel.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Ein [Brush](../../brush/) Objekt zum Füllen |
| x | int | Die X-Koordinate der oberen linken Ecke des auszufüllenden Rechtecks |
| y | int | Die Y-Koordinate der oberen linken Ecke des auszufüllenden Rechtecks |
| width | int | Die Breite des auszufüllenden Rechtecks |
| height | int | Die Höhe des auszufüllenden Rechtecks |

## Siehe auch

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


Füllt das angegebene Rechteck mit dem angegebenen Pinsel.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Ein [Brush](../../brush/) Objekt zum Füllen |
| rect | Rectangle | Ein [Rectangle](../../rectangle/) Objekt, das den Ort und die Größe des auszufüllenden Rechtecks angibt |

## Siehe auch

* 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


Füllt das angegebene Rechteck mit dem angegebenen Pinsel.

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


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | Ein [Brush](../../brush/) Objekt zum Füllen |
| rect | RectangleF | Ein [RectangleF](../../rectanglef/) Objekt, das den Ort und die Größe des auszufüllenden Rechtecks angibt |

## Siehe auch

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