/** * Copyright (c) 2019-present Houfeng * @author Houfeng */ import { IHandlerActionInfo } from "./IActionInfo"; import { IPoint } from "vector-helper"; import { ShapeModel } from "../Shape/ShapeModel"; export interface IHandlerProps extends IPoint { minX?: number; minY?: number; maxX?: number; maxY?: number; preventX?: boolean; preventY?: boolean; onStart?: (info: IHandlerActionInfo) => void; onMove?: (info: IHandlerActionInfo) => void; onEnd?: (info: IHandlerActionInfo) => void; onUpdate?: (info: IHandlerActionInfo) => void; fill?: string; stroke?: string; size?: number; model: ShapeModel; [name: string]: any; }