screen
Get information about screen size, display, cursor position, etc.
Methods
getCursorScreenPoint()
Absolute position x, y of the current mouse cursor.
Returns
Promise<point: Object>
point
Objectpoint.x
point.y
getPrimaryDisplay()
Returns primary display information.
Returns
Promise<display: Display>
display
Display Object - Current display information.
getAllDisplays()
Returns an array Display[], representing currently available screens.
Returns
Promise<displays: Display[]>
displays
Display[]
getDisplayNearestPoint(point)
Gets the plugin window coordinates x and y.
point
Objectpoint.x
Integer typepoint.y
Integer type
Returns
Promise<display: Display>
display
Display Object - Current display information.
Last updated