@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
17 lines (16 loc) • 821 B
TypeScript
import { BaseItemsCommand } from "./BaseItemsCommand";
import { IHistoryArgs } from "../ModelUpdateCommand";
import { Color } from "@aurigma/design-atoms-model/Colors";
import { ClipartItem, ColorGroup } from "@aurigma/design-atoms-model/Product/Items/ClipartItem";
import { IColorWithTitle } from "@aurigma/design-atoms-model/Product/Interfaces";
export declare class ChangeClipartItemColorCommand extends BaseItemsCommand<IChangeClipartItemColorArgs, void> {
constructor(historyArgs: IHistoryArgs, args: IChangeClipartItemColorArgs);
_executeCommandBody(): Promise<void>;
redo(): Promise<void>;
undo(): Promise<void>;
}
export interface IChangeClipartItemColorArgs {
clipartItem: ClipartItem | null;
colorGroup: ColorGroup | null;
newColor: Color | IColorWithTitle | null;
}