UNPKG

424 BTypeScriptView Raw
1import { ImageTransform } from './image-transform.interface';
2export interface MoveStart {
3 active: boolean;
4 type: MoveTypes | null;
5 position: string | null;
6 transform?: ImageTransform;
7 x1: number;
8 y1: number;
9 x2: number;
10 y2: number;
11 clientX: number;
12 clientY: number;
13}
14export declare enum MoveTypes {
15 Drag = "drag",
16 Move = "move",
17 Resize = "resize",
18 Pinch = "pinch"
19}