Rect.intersects

Checks whether this Rect intersects with an other. If, and the parameter 'overlap' isn't null, the colliding rectangle is stored there.

struct Rect
@nogc
bool
intersects
const
(
const Rect rect
,
Rect* overlap = null
)

Meta