SGraphPointListInsert.d.ts 476 B

12345678910111213
  1. import { SPoint } from "@persagy-web/draw/lib";
  2. import { SGraphCommand, SGraphItem, SGraphScene } from "../index";
  3. export declare class SGraphPointListInsert extends SGraphCommand {
  4. readonly command: string;
  5. item: SGraphItem;
  6. pos: SPoint;
  7. index: number | 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. }