win.setPosition(position)

用途:移动窗口到指定位置

  • position String -指定的窗口位置,可选值: null(不固定) , center(屏幕居中) , mouse(鼠标所在位置)