Skip to content

lightgun-poc / lib/monitors / MonitorRect

Interface: MonitorRect

Defined in: lib/monitors.ts:26

One monitor's pixel rectangle. x/y are signed: on Windows a monitor left of or above the primary has a NEGATIVE origin.

Properties

h

h: number

Defined in: lib/monitors.ts:30


label

label: string

Defined in: lib/monitors.ts:32


primary

primary: boolean

Defined in: lib/monitors.ts:31


w

w: number

Defined in: lib/monitors.ts:29


x

x: number

Defined in: lib/monitors.ts:27


y

y: number

Defined in: lib/monitors.ts:28

Released under the MIT License.