RectangleIntersectsWith Method

Determines if this rectangle intersects with rect.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public bool IntersectsWith(
	Rectangle rect
)

Parameters

rect
Type: System.DrawingRectangle
The rectangle to test.

Return Value

Type: Boolean
This method returns true if there is any intersection, otherwise false.
See Also