intersects

open infix override fun intersects(rectangle: Rectangle): Boolean

Checks whether the Shape intersects a rectangle.

Return

true if the Shape intersects the rectangle

Parameters

rectangle

The rectangle