Rect.intersects

Function/Meaning

Rectangle intersection judgment

Type
Rectclassmethod of
Syntax
intersects(r)
Arguments
r

Specifies a rectangular object to determine intersection.

Return value

With or without intersection

Explanation

Determines if it intersects the specified rectangular object.
Returns true if it intersects.