Monitor

external interface Monitor(source)

Allows you to retrieve information about a given monitor.

Since

1.0.0

Properties

Link copied to clipboard
abstract var name: String?

Human-readable name of the monitor

Link copied to clipboard

the Top-left corner position of the monitor relative to the larger full screen area, in physical pixels.

Link copied to clipboard
abstract var scaleFactor: Double

The scale factor that can be used to map physical pixels to logical pixels, e.g. monitor.position.toLogical(monitor.scaleFactor).

Link copied to clipboard
abstract var size: PhysicalSize

The monitor's resolution in physical pixels.

Link copied to clipboard

The monitor's work area (the monitor area excluding taskbars and docks) in physical pixels.