RectangleContains Method (Int32, Int32)
Determines if the specified point is contained within this Rectangle structure.

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntax
public bool Contains(
	int x,
	int y
)

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: Boolean
This method returns true if the point defined by x and y is contained within this Rectangle structure; otherwise false.
See Also