Skip to content

Interface: LaunchDisplay ​

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

The display that shows the content; rectangles use the DesktopEngine.Window coordinate system: origin at the top-left of the main display, y pointing down

Properties ​

frame ​

ts
frame: Rect;

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

The whole screen


id ​

ts
id: number;

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

The display's ID, the same as its Screen.identifier


name ​

ts
name: string;

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

Display name, such as "Built-in Display"


scale ​

ts
scale: number;

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

Pixel scale factor; 2 on Retina


visibleFrame ​

ts
visibleFrame: Rect;

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

The usable area, excluding the menu bar and the Dock, at launch; Screen.visibleFrame is the current one

The SDK is released under the Apache License 2.0