Files
archived-tauri-docs/docs/api/js/interfaces/window.Monitor.md
2022-03-29 07:36:52 +02:00

1.1 KiB

@tauri-apps/api / window / Monitor

Interface: Monitor

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


position

position: PhysicalPosition

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

Defined in

window.ts:119


scaleFactor

scaleFactor: number

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

Defined in

window.ts:121


size

size: PhysicalSize

The monitor's resolution.

Defined in

window.ts:117