omnia_schule/node_modules/canvg/lib/ViewPort.d.ts

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