Contains()
Contents
[
Hide
]RectangleF::Contains(float, float) method
Determines if the specified point is located within the rectangle represented by the current object.
bool System::Drawing::RectangleF::Contains(float x, float y)
Arguments
Parameter | Type | Description |
---|---|---|
x | float | The X coordinate of the point to check |
y | float | The Y coordinate of the point to check |
Return Value
True if the specified point is located within the rectangle represented by the current object, otherwise - false
RectangleF::Contains(const PointF&) method
Determines if the specified point is located within the rectangle represented by the current object.
bool System::Drawing::RectangleF::Contains(const PointF &point)
Arguments
Parameter | Type | Description |
---|---|---|
point | const PointF& | A point to check |
Return Value
True if the specified point is located within the rectangle represented by the current object, otherwise - false
RectangleF::Contains(const RectangleF&) method
Determines if the specified rectangle is located within the rectangle represented by the current object.
bool System::Drawing::RectangleF::Contains(const RectangleF &rect)
Arguments
Parameter | Type | Description |
---|---|---|
rect | const RectangleF& | A rectangle to check |
Return Value
True if the specified rectangle is located within the rectangle represented by the current object, otherwise - false
See Also
- Class RectangleF
- Class PointF
- Namespace System::Drawing
- Library Aspose.Slides