Whether this rectangle overlaps with other.
other
bool intersects(Rect other) => x < other.right && right > other.x && y < other.bottom && bottom > other.y;