Returns true if the value is in the range.
true
値がレンジ内にある場合はtrueを返します。
bool contains(num x, num y) => x >= minX && x < maxX && y >= minY && y < maxY;