Rectangle.IsIntersect

Rectangle.IsIntersect method

Determines whether this rectangle intersects with other rectangle.

public bool IsIntersect(Rectangle otherRect)
ParameterTypeDescription
otherRectRectangleIntersection will be tested with specified rectangle.

Return Value

True if this rectangle intersects with specified rectangle. Otherwise false.

See Also