Return the corners of this rectangle as an array of points. Specifically, this returns the array ``[[x0, y0], [x0, y1], [x1, y0], [x1, y1]]``.
(self)
| 642 | return Bbox(self._points + (tx, ty)) |
| 643 | |
| 644 | def corners(self): |
| 645 | """ |
| 646 | Return the corners of this rectangle as an array of points. |
| 647 | |
| 648 | Specifically, this returns the array |
| 649 | ``[[x0, y0], [x0, y1], [x1, y0], [x1, y1]]``. |
| 650 | """ |
| 651 | (x0, y0), (x1, y1) = self.get_points() |
| 652 | return np.array([[x0, y0], [x0, y1], [x1, y0], [x1, y1]]) |
| 653 | |
| 654 | def rotated(self, radians): |
| 655 | """ |