intersects_with method

intersects_with

Determines if this rectangle intersects with rect.

Returns

This method returns true if there is any intersection, otherwise false.

def intersects_with(self, rect):
    ...
ParameterTypeDescription
rectRectangleThe rectangle to test.

See Also