## Rectangle::Contains(const Point\&) const method


指定された点が現在のオブジェクトで表される矩形内にあるかどうかを判断します。

```cpp
bool System::Drawing::Rectangle::Contains(const Point &point) const
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| ポイント | const Point\& | チェックする点 |

### ReturnValue

指定された点が現在のオブジェクトが表す矩形内にある場合は true、そうでない場合は false

## 参照

* Class [Point](../../point/)
* Class [Rectangle](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Rectangle::Contains(const Rectangle\&) const method


指定された矩形が現在のオブジェクトで表される矩形内にあるかどうかを判断します。

```cpp
bool System::Drawing::Rectangle::Contains(const Rectangle &rect) const
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| rect | const Rectangle\& | チェックする矩形 |

### ReturnValue

指定された矩形が現在のオブジェクトが表す矩形内にある場合は true、そうでない場合は false

## 参照

* Class [Rectangle](../)
* Class [Rectangle](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Rectangle::Contains(int, int) const method


指定された点が現在のオブジェクトで表される矩形内にあるかどうかを判断します。

```cpp
bool System::Drawing::Rectangle::Contains(int x, int y) const
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| x | int | チェックする点の X 座標 |
| y | int | チェックする点の Y 座標 |

### ReturnValue

指定された点が現在のオブジェクトが表す矩形内にある場合は true、そうでない場合は false

## 参照

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