Returns whether this rectangle contains the given offset.
offset
bool contains(Offset offset) { return offset.x >= x && offset.x < right && offset.y >= y && offset.y < bottom; }