Displayinterface
Describes a display.
Properties (16)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| aspectRatio⚓︎ | string | x | Aspect ratio of the display (e.g., 16:9). |
|
| bounds⚓︎ | Bounds | x | Bounds of the display in logical coordinates (width, height, left, and top). |
|
| capture⚓︎ | (size: ScaleOptions | AbsoluteSizeOptions) => Promise<string> | x | Captures a screenshot of the current display. |
|
| dpi⚓︎ | number | x | Display resolution. |
|
| electronBounds⚓︎ | Bounds | x | Bounds of the display in Electron DIP coordinates. io.Connect Desktop 10.2@interopio/desktop 6.20 |
|
| electronId⚓︎ | number | x | The Electron internal display ID. io.Connect Desktop 10.2@interopio/desktop 6.20 |
|
| electronWorkArea⚓︎ | Bounds | x | The working area of the display in Electron DIP coordinates. io.Connect Desktop 10.2@interopio/desktop 6.20 |
|
| id⚓︎ | number | x | Unique identifier associated with the display. |
|
| index⚓︎ | number | x | Index assigned to the display by the operating system. |
|
| isPrimary⚓︎ | boolean | x | If |
|
| name⚓︎ | string | x | Name assigned to the display by the operating system. |
|
| scaleFactor⚓︎ | number | x | The logical scale factor of the display. |
|
| screenBounds⚓︎ | Bounds | x | Bounds of the display in physical screen pixels. io.Connect Desktop 10.2@interopio/desktop 6.20 |
|
| screenScaleFactor⚓︎ | number | x | The physical screen scale factor (DPI scaling) of the display. io.Connect Desktop 10.2@interopio/desktop 6.20 |
|
| screenWorkArea⚓︎ | Bounds | x | The working area of the display in physical screen pixels. io.Connect Desktop 10.2@interopio/desktop 6.20 |
|
| workArea⚓︎ | Bounds | x | The working area of the display in logical coordinates. |