intersect

Determines if this rectangle intersects with another.

Return

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

Parameters

right

A rectangle to check for intersection.

See also