UNPKG

@fleet-frontend/mower-maps

Version:

a mower maps in google maps

32 lines 956 B
import React from 'react'; interface Point { x: number; y: number; } export declare const useVisionOffTransform: (data: { points?: number[][]; }, scaleConstraints?: { minEdgeLength?: number; maxEdgeLength?: number; }) => { currentPoints: Point[]; centerPoint: Point; isDragging: boolean; isRotating: boolean; isScaling: boolean; currentOperation: number; dimensions: { width: number; height: number; }; initializePoints: () => void; calculateSelectionBoxPoints: (points: Point[], scale?: number) => Point[]; handleMouseDown: (event: React.MouseEvent) => void; handleRotateStart: (event: React.MouseEvent) => void; handleScaleStart: (event: React.MouseEvent) => void; handleMouseMove: (event: MouseEvent) => void; handleMouseUp: () => void; containerRef: React.MutableRefObject<SVGGElement>; }; export {}; //# sourceMappingURL=useVisionOffTransform.d.ts.map