Documentation Index
Fetch the complete documentation index at: https://docs.simular.ai/llms.txt
Use this file to discover all available pages before exploring further.
Class: Screen
Defined in: index.d.ts:863 Represents a physical display/screen.Constructors
Constructor
new Screen(): Screen
Returns
Screen
Methods
dimensions()
dimensions(): [Defined in: index.d.ts:877 Returns the dimensions of the screen in pixels. The return value isnumber,number,number,number]
[x, y, width, height].
Returns
[number, number, number, number]
fromCurrentMouseLocation()
Defined in: index.d.ts:871 Returns the screen identifier for the screen on which the mouse is located. If the mouse is not on any screen, the main screen is returned.staticfromCurrentMouseLocation():Screen
Returns
Screen
mainScreen()
Defined in: index.d.ts:865 Returns the screen identifier for the main screen.staticmainScreen():Screen
Returns
Screen
