12345678910111213141516 |
- import { SGraphCommand } from "./SGraphCommand";
- import { SGraphItem } from "../SGraphItem";
- import { SPoint } from "@persagy-web/draw/lib";
- import { SUndoCommand } from "@persagy-web/base/lib";
- import { SGraphScene } from "../SGraphScene";
- export declare class SGraphMoveCommand extends SGraphCommand {
- readonly command: string;
- item: SGraphItem;
- old: SPoint;
- pos: SPoint;
- constructor(scene: SGraphScene, item: SGraphItem, old: SPoint, pos: SPoint);
- mergeWith(command: SUndoCommand): boolean;
- redo(): void;
- undo(): void;
- toString(): string;
- }
|