intersect

Determines if two rectangles intersect.

Return

Intersect.INTERSECTING if the rectangles intersect, Intersect.OUTSIDE otherwise.

Parameters

left

A rectangle to check for intersection.

right

The other rectangle to check for intersection.

See also