Skip to content

lightgun-poc / lib/monitors / MonitorRect

Interface: MonitorRect ​

Defined in: lib/monitors.ts:27

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


label ​

label: string

Defined in: lib/monitors.ts:33


primary ​

primary: boolean

Defined in: lib/monitors.ts:32


w ​

w: number

Defined in: lib/monitors.ts:30


x ​

x: number

Defined in: lib/monitors.ts:28


y ​

y: number

Defined in: lib/monitors.ts:29

Released under the MIT License.