Initial commit

This commit is contained in:
2021-10-23 19:59:20 +10:00
commit ba4c9a7d7a
1851 changed files with 1250444 additions and 0 deletions

32
node_modules/konva/lib/Canvas.d.ts generated vendored Normal file
View File

@@ -0,0 +1,32 @@
import { Context } from './Context';
interface ICanvasConfig {
width?: number;
height?: number;
pixelRatio?: number;
}
export declare class Canvas {
pixelRatio: number;
_canvas: HTMLCanvasElement;
context: Context;
width: number;
height: number;
isCache: boolean;
constructor(config: ICanvasConfig);
getContext(): Context;
getPixelRatio(): number;
setPixelRatio(pixelRatio: any): void;
setWidth(width: any): void;
setHeight(height: any): void;
getWidth(): number;
getHeight(): number;
setSize(width: any, height: any): void;
toDataURL(mimeType: any, quality: any): string;
}
export declare class SceneCanvas extends Canvas {
constructor(config?: ICanvasConfig);
}
export declare class HitCanvas extends Canvas {
hitCanvas: boolean;
constructor(config?: ICanvasConfig);
}
export {};