editor-render-v2
Version:
编辑器渲染器
12 lines (11 loc) • 371 B
TypeScript
import { fabric } from 'fabric';
interface IShellControl {
shell: fabric.Path;
clipPath: fabric.Path;
resetClipPath: () => void;
}
interface IResetMaxScale {
(targetImage: fabric.Image, shell: fabric.Path, type: string): void;
}
export declare const createCropShell: (targetImage: fabric.Image, resetMaxScale: IResetMaxScale) => IShellControl;
export {};