win.resizeTo(width, height)

用途:重设窗口尺寸为 widthheight

  • width Integer - 窗口宽度
  • height Integer - 窗口高度