Add a rotation (in radians) around the point (x, y) in place. Returns *self*, so this method can easily be chained with more calls to :meth:`rotate`, :meth:`rotate_deg`, :meth:`translate` and :meth:`scale`.
(self, x, y, theta)
| 2063 | return self.rotate(math.radians(degrees)) |
| 2064 | |
| 2065 | def rotate_around(self, x, y, theta): |
| 2066 | """ |
| 2067 | Add a rotation (in radians) around the point (x, y) in place. |
| 2068 | |
| 2069 | Returns *self*, so this method can easily be chained with more |
| 2070 | calls to :meth:`rotate`, :meth:`rotate_deg`, :meth:`translate` |
| 2071 | and :meth:`scale`. |
| 2072 | """ |
| 2073 | return self.translate(-x, -y).rotate(theta).translate(x, y) |
| 2074 | |
| 2075 | def rotate_deg_around(self, x, y, degrees): |
| 2076 | """ |