SGraphPropertyCommand.d.ts 474 B

1234567891011121314
  1. import { SGraphCommand } from "./SGraphCommand";
  2. import { SGraphItem } from "../SGraphItem";
  3. import { SGraphScene } from "../SGraphScene";
  4. export declare class SGraphPropertyCommand<T> extends SGraphCommand {
  5. readonly command: string;
  6. item: SGraphItem;
  7. propName: string;
  8. oldProp: T;
  9. newProp: T;
  10. constructor(scene: SGraphScene, item: SGraphItem, propName: string, oldProp: T, newProp: T);
  11. redo(): void;
  12. undo(): void;
  13. toString(): string;
  14. }