Skip to main content

window.Monitor

Allows you to retrieve information about a given monitor.

Properties#

name#

name: null | string

Human-readable name of the monitor

Defined in: window.ts:17


position#

position: PhysicalPosition

the Top-left corner position of the monitor relative to the larger full screen area.

Defined in: window.ts:21


scaleFactor#

scaleFactor: number

The scale factor that can be used to map physical pixels to logical pixels.

Defined in: window.ts:23


size#

size: PhysicalSize

The monitor's resolution.

Defined in: window.ts:19