interface Screen {
    Bounds: Rect;
    Id: string;
    IsPrimary: boolean;
    Name: string;
    Position: Position;
    Rotation: number;
    Scale: number;
    Size: Size;
    WorkArea: Rect;
}

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.

Position: Position

Contains the X and Y coordinates of the screen's position.

Rotation: number

The rotation of the screen.

Scale: number

The resolution scale of the screen. 1 = standard resolution, 2 = high (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).

Generated using TypeDoc