Return whether ``(x, y)`` is in the bounding box or on its edge.
(self, x, y)
| 415 | return y0 <= y <= y1 or y0 >= y >= y1 |
| 416 | |
| 417 | def contains(self, x, y): |
| 418 | """ |
| 419 | Return whether ``(x, y)`` is in the bounding box or on its edge. |
| 420 | """ |
| 421 | return self.containsx(x) and self.containsy(y) |
| 422 | |
| 423 | def overlaps(self, other): |
| 424 | """ |