Rectangle.intersects

Rectangle.intersects

Class Overview | Class Members | This Package | All Packages

Syntax
public boolean intersects( Rectangle r )
Parameters
r
a rectangle.
Returns
true if the specified rectangle and this rectangle insersect; false otherwise.
Description
Determines whether this rectangle and the specified rectangle intersect. Two rectangles intersect if their intersection is nonempty.