You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
458 B
TypeScript
16 lines
458 B
TypeScript
export interface IViewPortSize {
|
|
width: number;
|
|
height: number;
|
|
}
|
|
export declare type Axis = 'x' | 'y';
|
|
export default class ViewPort {
|
|
viewPorts: IViewPortSize[];
|
|
clear(): void;
|
|
setCurrent(width: number, height: number): void;
|
|
removeCurrent(): void;
|
|
getCurrent(): IViewPortSize;
|
|
get width(): number;
|
|
get height(): number;
|
|
computeSize(d?: number | Axis): number;
|
|
}
|
|
//# sourceMappingURL=ViewPort.d.ts.map
|