System::Drawing::Rectangle::Contains method
Contents
[
Hide
]Rectangle::Contains(const Point&) const method
Determines if the specified point is located within the rectangle represented by the current object.
bool System::Drawing::Rectangle::Contains(const Point &point) const
Parameter | Type | Description |
---|---|---|
point | const Point& | A point to check |
ReturnValue
True if the specified point is located within the rectangle represented by the current object, otherwise - false
See Also
- Class Point
- Class Rectangle
- Namespace System::Drawing
- Library Aspose.PDF for C++
Rectangle::Contains(const Rectangle&) const method
Determines if the specified rectangle is located within the rectangle represented by the current object.
bool System::Drawing::Rectangle::Contains(const Rectangle &rect) const
Parameter | Type | Description |
---|---|---|
rect | const Rectangle& | A rectangle to check |
ReturnValue
True if the specified rectangle is located within the rectangle represented by the current object, otherwise - false
See Also
- Class Rectangle
- Class Rectangle
- Namespace System::Drawing
- Library Aspose.PDF for C++
Rectangle::Contains(int, int) const method
Determines if the specified point is located within the rectangle represented by the current object.
bool System::Drawing::Rectangle::Contains(int x, int y) const
Parameter | Type | Description |
---|---|---|
x | int | The X coordinate of the point to check |
y | int | The Y coordinate of the point to check |
ReturnValue
True if the specified point is located within the rectangle represented by the current object, otherwise - false
See Also
- Class Rectangle
- Namespace System::Drawing
- Library Aspose.PDF for C++