Rectangle.Contains
Contents
[
Hide
]Contains(int, int)
Determines if the specified point is contained within this Rectangle
structure.
public bool Contains(int x, int y)
Parameter | Type | Description |
---|---|---|
x | Int32 | The x-coordinate of the point to test. |
y | Int32 | The y-coordinate of the point to test. |
Return Value
This method returns true if the point defined by x and y is contained within this Rectangle
structure; otherwise false.
See Also
- struct Rectangle
- namespace Aspose.Imaging
- assembly Aspose.Imaging
Contains(Point)
Determines if the specified point is contained within this Rectangle
structure.
public bool Contains(Point point)
Parameter | Type | Description |
---|---|---|
point | Point | The Point to test. |
Return Value
This method returns true if the point represented by point is contained within this Rectangle
structure; otherwise false.
See Also
- struct Point
- struct Rectangle
- namespace Aspose.Imaging
- assembly Aspose.Imaging
Contains(Rectangle)
Determines if the rectangular region represented by rect is entirely contained within this Rectangle
structure.
public bool Contains(Rectangle rect)
Parameter | Type | Description |
---|---|---|
rect | Rectangle | The Rectangle to test. |
Return Value
This method returns true if the rectangular region represented by rect is entirely contained within this Rectangle
structure; otherwise false.
See Also
- struct Rectangle
- namespace Aspose.Imaging
- assembly Aspose.Imaging