UNPKG

490 BTypeScriptView Raw
1import { CropperPosition, ImageTransform } from './';
2export type Position = 'left' | 'topleft' | 'top' | 'topright' | 'right' | 'bottomright' | 'bottom' | 'bottomleft' | 'center';
3export interface MoveStart {
4 type: MoveTypes | null;
5 position: Position | null;
6 transform?: ImageTransform;
7 cropper: CropperPosition;
8 clientX: number;
9 clientY: number;
10}
11export declare enum MoveTypes {
12 Drag = "drag",
13 Move = "move",
14 Resize = "resize",
15 Pinch = "pinch"
16}