Monitor#

class pixel_forge.Monitor(id: int | None = None)#

Monitor abstraction the Windows operating system.

property device_name#

The monitor device name.

property device_string#

The monitor device string.

property height#

The monitor pixel height.

property index#

The monitor index.

property refresh_rate#

The monitor refresh rate in Hz.

property width#

The monitor pixel width.

pixel_forge.primary_monitor()#

Get the primary monitor.

Returns:

The primary monitor.

pixel_forge.enumerate_monitors()#

Create a list of all monitors.

Returns:

The list of all monitors.