SGraphPointListDelete.d.ts 483 B

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