1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
---@meta
---A connected monitor.
---@class (exact) Monitor: MonitorMethods
---@class MonitorClass: MonitorMethods
local module =
---@class MonitorMethods
local methods =
---Returns a list of all available monitors.
---@return Monitor[]
---@nodiscard
---Returns the primary monitor.
---@return Monitor?
---@nodiscard
---Name of the monitor
---@param self Monitor
---@return string?
---@nodiscard
---The monitor's dpi-independent size.
---@param self Monitor
---@return integer
---@return integer
---@nodiscard
---The monitor's dpi-independent width.
---@param self Monitor
---@return integer
---@nodiscard
---The monitor's dpi-independent height.
---@param self Monitor
---@return integer
---@nodiscard
---Size of the monitor in pixels.
---@param self Monitor
---@return integer
---@return integer
---@nodiscard
---Width of the monitor in pixels.
---@param self Monitor
---@return integer
---@nodiscard
---Height of the monitor in pixels.
---@param self Monitor
---@return integer
---@nodiscard
---The monitor's dpi-independent position.
---@param self Monitor
---@return integer
---@return integer
---@nodiscard
---The monitor's dpi-independent x-position.
---@param self Monitor
---@return integer
---@nodiscard
---The monitor's dpi-independent y-position.
---@param self Monitor
---@return integer
---@nodiscard
---Pixel position of the monitor.
---@param self Monitor
---@return integer
---@return integer
---@nodiscard
---Pixel x-position of the monitor.
---@param self Monitor
---@return integer
---@nodiscard
---Pixel y-position of the monitor.
---@param self Monitor
---@return integer
---@nodiscard
---Refresh rate of the monitor in `mHz`.
---@param self Monitor
---@return integer?
---@nodiscard
---Scale factor of the monitor.
---@param self Monitor
---@return number
---@nodiscard
---Fullscreen video modes available to this monitor.
---@param self Monitor
---@return VideoMode[]
---@nodiscard
return module