getBounds
The bounds
of the window as Object
.
!NOTE On macOS, the y-coordinate value returned will be at minimum the Tray height. For example, calling
win.setBounds({ x: 25, y: 20, width: 800, height: 600 })
with a tray height of 38 means thatwin.getBounds()
will return{ x: 25, y: 38, width: 800, height: 600 }
.