Skip to content

Interface: LaunchDisplay ​

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

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:38

The whole screen


id ​

ts
id: number;

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

Display ID (CGDirectDisplayID)


name ​

ts
name: string;

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

Display name, such as "Built-in Display"


scale ​

ts
scale: number;

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

Pixel scale factor; 2 on Retina


visibleFrame ​

ts
visibleFrame: Rect;

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

The usable area, excluding the menu bar and the Dock

The SDK is released under the Apache License 2.0