Scripting API

Scripting API

DisplayMonitor

Struct in Abyss.Core, from Abyss.Core.

One display, in the desktop's physical pixels.

public readonly struct DisplayMonitor

Remarks

Laid out as abyss_core::window::MonitorRow is. Not called Monitor, which every C# file already means something else by.

Properties

IsPrimary

public bool IsPrimary { get; }

Whether this is the primary monitor.

Fields

X

public readonly int X

Left edge, from the left of the primary monitor.

Y

public readonly int Y

Top edge, from the top of the primary monitor.

Width

public readonly uint Width

Width.

Height

public readonly uint Height

Height.

Scale

public readonly float Scale

How many physical pixels one logical pixel is on it.