/** * Copyright (c) 2019-present Houfeng * @author Houfeng */ import { ShapeCommand, IShapeCommand } from "./ShapeCommand"; import { IShapeModel } from "../Shape"; import { ICommand } from "./Command"; /** * 图形更新命令信息 */ export interface IShapeUpdateCommand extends IShapeCommand { origin: IShapeModel[]; latest: IShapeModel[]; } /** * 图形更新命令 */ export declare class ShapeUpdateCommand extends ShapeCommand implements IShapeUpdateCommand { get type(): string; origin: IShapeModel[]; latest: IShapeModel[]; constructor(opts: IShapeUpdateCommand, keys?: string[]); undo(): void; redo(): void; toJSON(): { origin: IShapeModel[]; latest: IShapeModel[]; sceneId: string; shapeIds: string[]; type: string; }; toAtoms(): ICommand[]; }