code: def rotateBy(self, value, origin=None):
          
          value = normalizers.normalizeRotationAngle(value)
          if origin is None:
              origin = (0, 0)
          origin = normalizers.normalizeCoordinateTuple(origin)
          self._rotateBy(value, origin=origin)
docs: Rotate the object.
  
              >>> obj.transformBy(45)
              >>> obj.transformBy(45, origin=(500, 500))
  
          **value** must be a :ref:`type-int-float` values
          defining the angle to rotate the object by. **origin**
          defines the point at with the rotation should originate.
          It must be a :ref:`type-coordinate` or ``None``.
          The default is ``(0, 0)``.