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


يملأ المستطيل المحدد بالفرشاة المحددة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | كائن [Brush](../../brush/) للاستخدام في التعبئة |
| x | عدد عائم | الإحداثي X للزاوية العليا اليسرى للمستطيل المراد تعبئته |
| y | عدد عائم | الإحداثي Y للزاوية العليا اليسرى للمستطيل المراد تعبئته |
| العرض | عدد عائم | عرض المستطيل المراد تعبئته |
| الارتفاع | عدد عائم | ارتفاع المستطيل المراد تعبئته |

## انظر أيضًا

* 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


يملأ المستطيل المحدد بالفرشاة المحددة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | كائن [Brush](../../brush/) للاستخدام في التعبئة |
| x | int | الإحداثي X للزاوية العليا اليسرى للمستطيل المراد تعبئته |
| y | int | الإحداثي Y للزاوية العليا اليسرى للمستطيل المراد تعبئته |
| العرض | int | عرض المستطيل المراد تعبئته |
| الارتفاع | int | ارتفاع المستطيل المراد تعبئته |

## انظر أيضًا

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


يملأ المستطيل المحدد بالفرشاة المحددة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | كائن [Brush](../../brush/) للاستخدام في التعبئة |
| rect | Rectangle | كائن [Rectangle](../../rectangle/) يحدد موقع وحجم المستطيل لتعبئته |

## انظر أيضًا

* 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


يملأ المستطيل المحدد بالفرشاة المحددة.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| brush | const SharedPtr\<Brush\>\& | كائن [Brush](../../brush/) للاستخدام في التعبئة |
| rect | RectangleF | كائن [RectangleF](../../rectanglef/) يحدد موقع وحجم المستطيل لتعبئته |

## انظر أيضًا

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