1 | export interface IViewPortSize {
|
2 | width: number;
|
3 | height: number;
|
4 | }
|
5 | export type Axis = 'x' | 'y';
|
6 | export declare class ViewPort {
|
7 | static DEFAULT_VIEWPORT_WIDTH: number;
|
8 | static DEFAULT_VIEWPORT_HEIGHT: number;
|
9 | viewPorts: IViewPortSize[];
|
10 | clear(): void;
|
11 | setCurrent(width: number, height: number): void;
|
12 | removeCurrent(): void;
|
13 | getRoot(): IViewPortSize;
|
14 | getCurrent(): IViewPortSize;
|
15 | get width(): number;
|
16 | get height(): number;
|
17 | computeSize(d?: number | Axis): number;
|
18 | }
|
19 |
|
\ | No newline at end of file |