The width of the bounding box. It may be negative if :attr:`x1` < :attr:`x0`.
(self)
| 394 | |
| 395 | @property |
| 396 | def width(self): |
| 397 | """ |
| 398 | The width of the bounding box. It may be negative if |
| 399 | :attr:`x1` < :attr:`x0`. |
| 400 | """ |
| 401 | points = self.get_points() |
| 402 | return points[1, 0] - points[0, 0] |
| 403 | |
| 404 | @property |
| 405 | def height(self): |