Rect.intersects

bool intersects(Rect other) const @safe nothrow @nogc

Checks if this rectangle intersects with another.

Parameters

otherRectangle to check against

Returns

true if rectangles overlap