intersects

Returns true iff the two specified rectangles intersect. In no event are either of the rectangles modified. To record the intersection, use .intersect or .setIntersect.

Return

true iff the two specified rectangles intersect. In no event are either of the rectangles modified.

Parameters

a

The first rectangle being tested for intersection

b

The second rectangle being tested for intersection