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


用此区域与指定矩形定义的区域的交集结果，替换当前对象所表示的区域。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| rect | const Rectangle\& | 定义用于与此区域相交的区域的矩形 |

## 另见

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


用此区域与指定矩形定义的区域的交集结果，替换当前对象所表示的区域。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| rect | const RectangleF\& | 定义用于与此区域相交的区域的矩形 |

## 另见

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


用此区域与由指定路径定义的区域的交集结果替换当前对象表示的区域。

```cpp
void System::Drawing::Region::Intersect(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::Intersect(const SharedPtr\<Region\>\&) method


用此区域与指定区域的交集结果替换当前对象表示的区域。

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


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 区域 | const SharedPtr\<Region\>\& | 用于与此区域相交的区域 |

## 另见

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