Interface: Screen
Defined in: types/desktop-engine.d.ts:3356
Display information (each read of mainScreen/screens creates new objects)
Properties
bounds
readonly bounds: Rect;Defined in: types/desktop-engine.d.ts:3372
Bounds in global coordinates (points, origin at the top-left of the main display)
identifier
readonly identifier: number;Defined in: types/desktop-engine.d.ts:3358
Display ID (CGDirectDisplayID)
isActive
readonly isActive: boolean;Defined in: types/desktop-engine.d.ts:3360
Whether the display is active
isAsleep
readonly isAsleep: boolean;Defined in: types/desktop-engine.d.ts:3362
Whether the display is asleep
isBuiltin
readonly isBuiltin: boolean;Defined in: types/desktop-engine.d.ts:3368
Whether this is a built-in display
isInMirrorSet
readonly isInMirrorSet: boolean;Defined in: types/desktop-engine.d.ts:3370
Whether the display is in a mirror set
isMain
readonly isMain: boolean;Defined in: types/desktop-engine.d.ts:3366
Whether this is the main display
isOnline
readonly isOnline: boolean;Defined in: types/desktop-engine.d.ts:3364
Whether the display is online
physicalSize
readonly physicalSize: Size;Defined in: types/desktop-engine.d.ts:3376
Physical size (millimeters)
resolution
readonly resolution: Size;Defined in: types/desktop-engine.d.ts:3374
Resolution in pixels
