code: def resize(self, newWidth = 0, newHeight = 0):
          
          self.height = newHeight
          self.width = newWidth
docs: !
          \~english 
          Resize width and height of rectangles
          @param newWidth: new width value
          @param newHeight: new height value
          \~chinese 
          重新设定矩形高宽
          @param newWidth: 新宽度
          @param newHeight: 新高度