Tauri Core API - v2.6.0
    Preparing search index...

    Interface Monitor

    Allows you to retrieve information about a given monitor.

    1.0.0

    interface Monitor {
        name: null | string;
        size: dpi.PhysicalSize;
        position: dpi.PhysicalPosition;
        workArea: { position: dpi.PhysicalPosition; size: dpi.PhysicalSize };
        scaleFactor: number;
    }
    Index

    Properties

    name: null | string

    Human-readable name of the monitor

    The monitor's resolution.

    the Top-left corner position of the monitor relative to the larger full screen area.

    workArea: { position: dpi.PhysicalPosition; size: dpi.PhysicalSize }

    The monitor's work area.

    scaleFactor: number

    The scale factor that can be used to map physical pixels to logical pixels.