## Region::Complement(const Rectangle\&) method


يستبدل المنطقة التي يمثلها الكائن الحالي بالجزء من المنطقة المحددة بواسطة المستطيل المحدد والذي لا يتقاطع مع هذه المنطقة.

```cpp
void System::Drawing::Region::Complement(const Rectangle &rect)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| rect | const Rectangle\& | مستطيل يحدد منطقة لتكملتها |

## انظر أيضًا

* Class [Rectangle](../../rectangle/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
## Region::Complement(const RectangleF\&) method


يستبدل المنطقة التي يمثلها الكائن الحالي بالجزء من المنطقة المحددة بواسطة المستطيل المحدد والذي لا يتقاطع مع هذه المنطقة.

```cpp
void System::Drawing::Region::Complement(const RectangleF &rect)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| rect | const RectangleF\& | مستطيل يحدد منطقة لتكملتها |

## انظر أيضًا

* Class [RectangleF](../../rectanglef/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
## Region::Complement(const SharedPtr\<Drawing2D::GraphicsPath\>\&) method


يستبدل المنطقة التي يمثلها الكائن الحالي بالجزء من المنطقة المحددة بواسطة المسار المحدد والذي لا يتقاطع مع هذه المنطقة.

```cpp
void System::Drawing::Region::Complement(const SharedPtr<Drawing2D::GraphicsPath> &path)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| مسار | const SharedPtr\<Drawing2D::GraphicsPath\>\& | مسار يحدد منطقة لتكملتها |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [GraphicsPath](../../../system.drawing.drawing2d/graphicspath/)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
## Region::Complement(const SharedPtr\<Region\>\&) method


يستبدل المنطقة التي يمثلها الكائن الحالي بالجزء من المنطقة المحددة التي لا تتقاطع مع هذه المنطقة.

```cpp
void System::Drawing::Region::Complement(const SharedPtr<Region> &region)
```


| معامل | نوع | الوصف |
| --- | --- | --- |
| منطقة | const SharedPtr\<Region\>\& | منطقة لتكملتها |

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Region](../)
* Class [Region](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
