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

23
node_modules/konva/cmj/shapes/Image.d.ts generated vendored Normal file
View File

@@ -0,0 +1,23 @@
import { Shape, ShapeConfig } from '../Shape';
import { GetSet, IRect } from '../types';
import { Context } from '../Context';
export interface ImageConfig extends ShapeConfig {
image: CanvasImageSource | undefined;
crop?: IRect;
}
export declare class Image extends Shape<ImageConfig> {
constructor(attrs: ImageConfig);
_setImageLoad(): void;
_useBufferCanvas(): boolean;
_sceneFunc(context: Context): void;
_hitFunc(context: any): void;
getWidth(): any;
getHeight(): any;
static fromURL(url: any, callback: any): void;
image: GetSet<CanvasImageSource | undefined, this>;
crop: GetSet<IRect, this>;
cropX: GetSet<number, this>;
cropY: GetSet<number, this>;
cropWidth: GetSet<number, this>;
cropHeight: GetSet<number, this>;
}