@classmethod<EOL><INDENT>def shear(cls, x_angle=<NUM_LIT:0>, y_angle=<NUM_LIT:0>):<DEDENT>
sx = math.tan(math.radians(x_angle))<EOL>sy = math.tan(math.radians(y_angle))<EOL>return tuple.__new__(cls, (<NUM_LIT:1.0>, sy, <NUM_LIT:0.0>, sx, <NUM_LIT:1.0>, <NUM_LIT:0.0>, <NUM_LIT:0.0>, <NUM_LIT:0.0>, <NUM_LIT:1.0>))<EOL>
Create a shear transform along one or both axes.

        :param x_angle: Angle in degrees to shear along the x-axis.
        :type x_angle: float
        :param y_angle: Angle in degrees to shear along the y-axis.
        :type y_angle: float
        :rtype: Affine