node-window-manager
Version:
Manage windows in macOS, Windows and Linux
24 lines (18 loc) • 404 B
text/typescript
import { IRectangle } from "../interfaces";
export class EmptyMonitor {
getBounds(): IRectangle {
return { x: 0, y: 0, width: 0, height: 0 };
}
getWorkArea(): IRectangle {
return { x: 0, y: 0, width: 0, height: 0 };
}
isPrimary(): boolean {
return false;
}
getScaleFactor(): number {
return 1;
};
isValid(): boolean {
return false;
}
}