Module: AMS::Screen

Defined in:
docs/ams/screen.rb

Overview

Note:

Windows only!

The Screen namespace contains functions that are associated with Windows screen.

Since:

  • 2.0.0

Class Method Summary collapse

Class Method Details

.resolutionArray<Integer>

Get screen resolution of the primary monitor.

Returns:

  • (Array<Integer>)

    [width, height] in pixels.

Since:

  • 2.0.0

.virtual_resolutionArray<Integer>

Get screen resolution of all monitors combined.

Returns:

  • (Array<Integer>)

    [width, height] in pixels.

Since:

  • 2.0.0