intersects

abstract infix fun intersects(rectangle: Rectangle): Boolean(source)

Checks whether the Shape intersects a rectangle.

Return

true if the Shape intersects the rectangle

Parameters

rectangle

The rectangle