(self)
| 68 | return self.bot_right.y - self.top_left.y |
| 69 | |
| 70 | def width(self) -> int: |
| 71 | return self.bot_right.x - self.top_left.x |
| 72 | |
| 73 | def contains(self, point: Point) -> bool: |
| 74 | x_contained = self.top_left.x <= point.x and point.x <= self.bot_right.x |