UNPKG

dotting

Version:

Dotting is a pixel art editor component library for react

17 lines (16 loc) 629 B
import { Action, ActionType } from "./Action"; import { DottingDataLayer } from "../helpers/DottingDataLayer"; export declare class LayerCreateAction extends Action { type: ActionType; insertIndex: number; layer: DottingDataLayer; constructor(layerId: string, layer: DottingDataLayer, insertPosition: number); createInverseAction(): Action; } export declare class LayerDeleteAction extends Action { type: ActionType; removeIndex: number; layer: DottingDataLayer; constructor(layerId: string, layer: DottingDataLayer, removedIndex: number); createInverseAction(): Action; }