import { MoveHandler, type HandleMoveResult } from "../../move/moveHandler.js"; import type { Matrix } from "transformation-matrix"; /** * Move handler for rotating CanvasElements * Expects relative coordinates to the rotation origin in its own coordinate system */ export declare class RotationMoveHandler extends MoveHandler { readonly element: string; readonly currentRotation: number; /** * Creates a new RotationHandler * * @param element the id of the CanvasElement to move * @param currentRotation the current rotation of the element in degrees * @param transformationMatrix transformation matrix to apply to obtain the relative position */ constructor(element: string, currentRotation: number, transformMatrix: Matrix); handleMove(x: number, y: number): HandleMoveResult; } //# sourceMappingURL=rotationMoveHandler.d.ts.map