interface Screen {
    Bounds: Rect;
    ID: string;
    IsPrimary: boolean;
    Name: string;
    PhysicalBounds: Rect;
    PhysicalWorkArea: Rect;
    Rotation: number;
    ScaleFactor: number;
    Size: Size;
    WorkArea: Rect;
    X: number;
    Y: number;
}

Properties

Bounds: Rect

Contains the bounds of the screen in terms of X, Y, Width, and Height.

ID: string

Unique identifier for the screen.

IsPrimary: boolean

True if this is the primary monitor selected by the user in the operating system.

Name: string

Human readable name of the screen.

PhysicalBounds: Rect

Contains the physical bounds of the screen in terms of X, Y, Width, and Height (before scaling).

PhysicalWorkArea: Rect

Contains the physical WorkArea of the screen (before scaling).

Rotation: number

The rotation of the screen.

ScaleFactor: number

The scale factor of the screen (DPI/96). 1 = standard DPI, 2 = HiDPI (Retina), etc.

Size: Size

Contains the width and height of the screen.

WorkArea: Rect

Contains the area of the screen that is actually usable (excluding taskbar and other system UI).

X: number

The X coordinate of the screen.

Y: number

The Y coordinate of the screen.

Generated using TypeDoc