Skip to content

Commit 67c619c

Browse files
authored
docs: MonitorInfo object
1 parent 47ed0b5 commit 67c619c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,19 @@ window.setBounds({ x: 0, y: 0 });
3939

4040
## Object `WindowInfo`
4141

42-
- `id` number
4342
- `title` string
4443
- `processId` string
4544
- `path` string - path to executable associated with the window
4645
- `bounds` [`Rectangle`](#object-rectangle)
4746
- `opacity` number (`Windows`)
4847
- `owner` [`Window`](#class-window) (`Windows`) - owner window of the current window
4948

49+
## Object `MonitorInfo`
50+
51+
- `isPrimary` boolean
52+
- `bounds` [`Rectangle`](#object-rectangle) - the monitor position and bounds
53+
- `workArea` [`Rectangle`](#object-rectangle) - the monitor working area bounds
54+
5055
## Class `WindowManager`
5156

5257
### Instance methods

0 commit comments

Comments
 (0)