Returns the rotated minimum size.

def get_minimum_size(self, data):
        """Returns the rotated minimum size."""
        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)