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