22 lines
596 B
TypeScript
22 lines
596 B
TypeScript
import type { fdOutgoingPosition } from '../fd';
|
|
declare class Dimensions {
|
|
width: number;
|
|
height: number;
|
|
constructor(width: number, height: number);
|
|
getRatio(): number;
|
|
}
|
|
export declare class Display {
|
|
private screen;
|
|
private source;
|
|
private display;
|
|
private offset;
|
|
constructor(width: number, height: number);
|
|
setOffsetX(x: number): void;
|
|
setOffsetY(y: number): void;
|
|
setSource(width: number, height: number): void;
|
|
getDimensions(): fdOutgoingPosition;
|
|
getScreen(): Dimensions;
|
|
getSource(): Dimensions;
|
|
}
|
|
export type { Dimensions };
|