electron/docs/api/common/screen.md
2014-01-07 20:35:13 +08:00

235 B

screen

Gets various info about screen size, displays, cursor position, etc.

screen.getCursorScreenPoint()

Returns the current absolute position of the mouse pointer.

screen.getPrimaryDisplay()

Returns the primary display.