SGraphPointListUpdate.d.ts 491 B

1234567891011121314
  1. import { SPoint } from "@persagy-web/draw/lib";
  2. import { SGraphCommand, SGraphItem, SGraphScene } from "../index";
  3. export declare class SGraphPointListUpdate extends SGraphCommand {
  4. readonly command: string;
  5. item: SGraphItem;
  6. old: SPoint;
  7. pos: SPoint;
  8. index: number;
  9. pointList: SPoint[];
  10. constructor(scene: SGraphScene, item: SGraphItem, pointList: SPoint[], old: SPoint, pos: SPoint, index: number);
  11. redo(): void;
  12. undo(): void;
  13. toString(): string;
  14. }