Return (xmin, xmax, ymin, ymax).
(self)
| 2291 | |
| 2292 | @property |
| 2293 | def extents(self): |
| 2294 | """Return (xmin, xmax, ymin, ymax).""" |
| 2295 | x0, y0, width, height = self._rect_bbox |
| 2296 | xmin, xmax = sorted([x0, x0 + width]) |
| 2297 | ymin, ymax = sorted([y0, y0 + height]) |
| 2298 | return xmin, xmax, ymin, ymax |
| 2299 | |
| 2300 | @extents.setter |
| 2301 | def extents(self, extents): |
nothing calls this directly
no test coverage detected