## RectangleF::IntersectsWith method


确定当前对象和指定对象表示的矩形是否相交。

```cpp
bool System::Drawing::RectangleF::IntersectsWith(const RectangleF &rect)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| rect | const RectangleF\& | 要检查的矩形 |

### ReturnValue

如果当前对象和 **rect** 所表示的矩形相交，则为 true；否则为 false

## 另见

* Class [RectangleF](../)
* Class [RectangleF](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
