Add a skew in place. *xShear* and *yShear* are the shear angles along the *x*- and *y*-axes, respectively, in degrees. Returns *self*, so this method can easily be chained with more calls to :meth:`rotate`, :meth:`rotate_deg`, :meth:`translate` and
(self, xShear, yShear)
| 2147 | return self |
| 2148 | |
| 2149 | def skew_deg(self, xShear, yShear): |
| 2150 | """ |
| 2151 | Add a skew in place. |
| 2152 | |
| 2153 | *xShear* and *yShear* are the shear angles along the *x*- and |
| 2154 | *y*-axes, respectively, in degrees. |
| 2155 | |
| 2156 | Returns *self*, so this method can easily be chained with more |
| 2157 | calls to :meth:`rotate`, :meth:`rotate_deg`, :meth:`translate` |
| 2158 | and :meth:`scale`. |
| 2159 | """ |
| 2160 | return self.skew(math.radians(xShear), math.radians(yShear)) |
| 2161 | |
| 2162 | |
| 2163 | class IdentityTransform(Affine2DBase): |