| RectangleContains Method (Int32, Int32) |
Determines if the specified point is contained within this
Rectangle structure.
Namespace: Aspose.PSDAssembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntaxpublic bool Contains(
int x,
int y
)
Public Function Contains (
x As Integer,
y As Integer
) As Boolean
public:
bool Contains(
int x,
int y
)
member Contains :
x : int *
y : int -> bool
Parameters
- x
- Type: SystemInt32
The x-coordinate of the point to test. - y
- Type: SystemInt32
The y-coordinate of the point to test.
Return Value
Type:
BooleanThis method returns true if the point defined by
x and
y is contained within this
Rectangle structure; otherwise false.
See Also