Skip to content

Interface: Screen ​

Defined in: types/desktop-engine.d.ts:3356

Display information (each read of mainScreen/screens creates new objects)

Properties ​

bounds ​

ts
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 ​

ts
readonly identifier: number;

Defined in: types/desktop-engine.d.ts:3358

Display ID (CGDirectDisplayID)


isActive ​

ts
readonly isActive: boolean;

Defined in: types/desktop-engine.d.ts:3360

Whether the display is active


isAsleep ​

ts
readonly isAsleep: boolean;

Defined in: types/desktop-engine.d.ts:3362

Whether the display is asleep


isBuiltin ​

ts
readonly isBuiltin: boolean;

Defined in: types/desktop-engine.d.ts:3368

Whether this is a built-in display


isInMirrorSet ​

ts
readonly isInMirrorSet: boolean;

Defined in: types/desktop-engine.d.ts:3370

Whether the display is in a mirror set


isMain ​

ts
readonly isMain: boolean;

Defined in: types/desktop-engine.d.ts:3366

Whether this is the main display


isOnline ​

ts
readonly isOnline: boolean;

Defined in: types/desktop-engine.d.ts:3364

Whether the display is online


physicalSize ​

ts
readonly physicalSize: Size;

Defined in: types/desktop-engine.d.ts:3376

Physical size (millimeters)


resolution ​

ts
readonly resolution: Size;

Defined in: types/desktop-engine.d.ts:3374

Resolution in pixels

The SDK is released under the Apache License 2.0