rotate method

rotate

Adds rotation counterclockwise about the origin to current graphics state (rotate current matrix).

def rotate(self, angle_radians):
    ...
ParameterTypeDescription
angle_radiansfloatThe angle of rotation in radians.

rotate

Adds rotation counterclockwise about the origin to current graphics state (rotate current matrix).

def rotate(self, angle_degrees):
    ...
ParameterTypeDescription
angle_degreesintThe angle of rotation in degrees.

See Also