Corners of rectangle in data coordinates from lower left, moving clockwise.
(self)
| 3743 | |
| 3744 | @property |
| 3745 | def corners(self): |
| 3746 | """ |
| 3747 | Corners of rectangle in data coordinates from lower left, |
| 3748 | moving clockwise. |
| 3749 | """ |
| 3750 | x0, y0, width, height = self._rect_bbox |
| 3751 | xc = x0, x0 + width, x0 + width, x0 |
| 3752 | yc = y0, y0, y0 + height, y0 + height |
| 3753 | transform = self._get_rotation_transform() |
| 3754 | coords = transform.transform(np.array([xc, yc]).T).T |
| 3755 | return coords[0], coords[1] |
| 3756 | |
| 3757 | @property |
| 3758 | def edge_centers(self): |
nothing calls this directly
no test coverage detected