def rotate(self, degrees=<NUM_LIT:0>, radians=<NUM_LIT:0>):
<EOL>if radians:<EOL><INDENT>angle = radians<EOL><DEDENT>else:<EOL><INDENT>angle = deg2rad(degrees)<EOL><DEDENT>self._canvas.rotate(-angle)<EOL>
Set the current rotation in degrees or radians.

:param degrees: Degrees to rotate
:param radians: Radians to rotate