win.resizeBy(width, height)

用途:调整窗口尺寸为相对于当前窗口尺寸的widthheight,比如窗口加宽10px

  • width Integer - 窗口宽度偏移值
  • height Integer -窗口高度偏移值