import Konva from 'konva'; import { Render } from '../index'; import { Handler } from '../types'; import { BaseGraph } from '../graphs'; export declare class GraphHandlers implements Handler { static readonly NAME = "GraphHandlers"; private render; constructor(render: Render); graphing: boolean; currentGraph: BaseGraph | undefined; /** * 获取鼠标位置,并处理为 相对大小 * @param attract 含磁贴计算 * @returns */ getStagePoint(attract?: boolean): { x: number; y: number; }; handlers: { stage: { mousedown: (e: Konva.KonvaEventObject) => void; mousemove: () => void; mouseup: () => void; }; }; } //# sourceMappingURL=graph-handlers.d.ts.map