mirror of
https://github.com/tauri-apps/tauri-docs.git
synced 2026-01-31 00:35:16 +01:00
1.1 KiB
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
position
• position: PhysicalPosition
the Top-left corner position of the monitor relative to the larger full screen area.
Defined in
scaleFactor
• scaleFactor: number
The scale factor that can be used to map physical pixels to logical pixels.
Defined in
size
• size: PhysicalSize
The monitor's resolution.