Whether position is inside this rectangle (inclusive of edges).
position
bool contains(Position position) => position.x >= x && position.x < right && position.y >= y && position.y < bottom;