code: def rotate(self, nDegrees):
          
          self.angle = self.angle + nDegrees
          self._transmogrophy(self.angle, self.percent, self.scaleFromCenter, self.flipH, self.flipV)
docs: rotates the image a given number of degrees
  
          Parameters:
              | nDegrees - the number of degrees you want the image rotated (images start at zero degrees).
              |                  Positive numbers are clockwise, negative numbers are counter-clockwise