code: def get_minimum_size(self, data):
          
          size = self.element.get_minimum_size(data)
          if self.angle in (RotateLM.NORMAL, RotateLM.UPSIDE_DOWN):
              return size
          else:
              return datatypes.Point(size.y, size.x)
docs: Returns the rotated minimum size.