Atlas Engine
API Referenceatlas

Monitor

Connected display information and supported video modes.

Module: atlas

Connected display information and supported video modes.

Declaration

export class Monitor { ... }

Properties

monitorId

monitorId: number;

primary

primary: boolean;

Methods

queryVideoModes

queryVideoModes(): VideoMode[];

getCurrentVideoMode

getCurrentVideoMode(): VideoMode;

getPhysicalSize

Returns the physical display dimensions in millimeters.

getPhysicalSize(): Size2d;

getPosition

getPosition(): Position2d;

getContentScale

getContentScale(): number;

getName

getName(): string;

On this page