Skip to content

lightgun-poc / lib/cursor / TargetRect

Interface: TargetRect

Defined in: lib/cursor.ts:29

The pixel rectangle aim maps into: one monitor, the spanning virtual desktop, or the whole primary screen. x/y may be negative — on Windows a monitor left of or above the primary has a negative origin.

Properties

h

h: number

Defined in: lib/cursor.ts:33


w

w: number

Defined in: lib/cursor.ts:32


x

x: number

Defined in: lib/cursor.ts:30


y

y: number

Defined in: lib/cursor.ts:31

Released under the MIT License.