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[edit]

descriptionstr (Read Only):

A description of the monitor or its display adapter.

displayNamestr (Read Only):

The unique display name associated with this monitor.

dpiScalefloat (Read Only):

The DPI Scaling factor the monitor is current set to.

heightint (Read Only):

The height of the monitor area, measured in pixels.

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.

isPrimarybool (Read Only):

Returns true, if this monitor is the primary display.

refreshRatefloat (Read Only):

The refresh rate the monitor is currently running at.

leftint (Read Only):

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

rightint (Read Only):

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

topint (Read Only):

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

bottomint (Read Only):

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

scaledWidthint (Read Only):

The width of the monitor area, measured in points.

scaledHeightint (Read Only):

The height of the monitor area, measured in points.

scaledLeftint (Read Only):

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

scaledRightint (Read Only):

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

scaledTopint (Read Only):

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

scaledBottomint (Read Only):

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

widthint (Read Only):

The width of the monitor area, measured in pixels.

indexint (Read Only):

The monitor position in the list.

Methods[edit]

No operator specific methods.



The Graphics Processing Unit. This is the high-speed, many-core processor of the graphics card/chip that takes geometry, images and data from the CPU and creates images and processed data.