overlaps method

bool overlaps(
  1. SceneRect other
)

Implementation

bool overlaps(SceneRect other) =>
    other.left < right &&
    other.right > left &&
    other.top < bottom &&
    other.bottom > top;