!
        \~english Swap width and height of rectangles
        \~chinese 交换矩形高宽边数据

def swapWH(self):
        """!
        \~english Swap width and height of rectangles
        \~chinese 交换矩形高宽边数据
        """
        width = self.width
        self.width = self.height
        self.height = width