Monitor Class

From Derivative
Jump to: navigation, search

The Monitor class describes a single instance of a monitor display. They can be accessed from the monitors object.



Members

Monitor.descriptionstr (Read Only):

A description of the monitor or its display adapter.

Monitor.displayNamestr (Read Only):

The unique display name associated with this monitor.

Monitor.dpiScalefloat (Read Only):

The DPI Scaling factor the monitor is current set to.

Monitor.heightint (Read Only):

The height of the monitor area, measured in pixels.

Monitor.isAffinitybool (Read Only):

Returns true, if this monitor is connected to the GPU that has been selected for GPU Affinity. Always True if GPU Affinity is not used.

Monitor.isPrimarybool (Read Only):

Returns true, if this monitor is the primary display.

Monitor.refreshRatefloat (Read Only):

The refresh rate the monitor is currently running at.

Monitor.leftint (Read Only):

The position of left edge of the monitor area, measured in pixels.

Monitor.rightint (Read Only):

The position of right edge of the monitor area, measured in pixels.

Monitor.topint (Read Only):

The position of top edge of the monitor area, measured in pixels.

Monitor.bottomint (Read Only):

The position of bottom edge of the monitor area, measured in pixels.

Monitor.scaledWidthint (Read Only):

The width of the monitor area, measured in points.

Monitor.scaledHeightint (Read Only):

The height of the monitor area, measured in points.

Monitor.scaledLeftint (Read Only):

The position of left edge of the monitor area, measured in points.

Monitor.scaledRighttint (Read Only):

The position of right edge of the monitor area, measured in points.

Monitor.scaledTopint (Read Only):

The position of top edge of the monitor area, measured in points.

Monitor.scaledBottomint (Read Only):

The position of bottom edge of the monitor area, measured in points.

Monitor.widthint (Read Only):

The width of the monitor area, measured in pixels.

Monitor.indexint (Read Only):

The monitor position in the list.

Methods

No operator specific methods.