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


position#

• position: PhysicalPosition

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

Defined in#

window.ts:98


scaleFactor#

• scaleFactor: number

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

Defined in#

window.ts:100


size#

• size: PhysicalSize

The monitor's resolution.

Defined in#

window.ts:96