Return (xmin, xmax, ymin, ymax) in data coordinates as defined by the bounding box before rotation.
(self)
| 3777 | |
| 3778 | @property |
| 3779 | def extents(self): |
| 3780 | """ |
| 3781 | Return (xmin, xmax, ymin, ymax) in data coordinates as defined by the |
| 3782 | bounding box before rotation. |
| 3783 | """ |
| 3784 | x0, y0, width, height = self._rect_bbox |
| 3785 | xmin, xmax = sorted([x0, x0 + width]) |
| 3786 | ymin, ymax = sorted([y0, y0 + height]) |
| 3787 | return xmin, xmax, ymin, ymax |
| 3788 | |
| 3789 | @extents.setter |
| 3790 | def extents(self, extents): |
nothing calls this directly
no test coverage detected