UNPKG

@aurigma/design-atoms-model

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

34 lines (33 loc) 1.36 kB
import { IEqualsReady } from "../../Utils"; import { NDEffectType } from "./NDEffectType"; import { IRawRecolorEffectParameters, RecolorEffectParameters } from "./RecolorEffectParameters"; export interface IRawNDEffects { [NDEffectType.None]: {}; [NDEffectType.Recolor]: IRawRecolorEffectParameters; } export declare class NDEffects implements IEqualsReady { [NDEffectType.None]: any; [NDEffectType.Recolor]: RecolorEffectParameters; get recolorEffect(): RecolorEffectParameters; set recolorEffect(params: RecolorEffectParameters); clone(): NDEffects; equals(ndEffect: NDEffects): boolean; toJSON(): { None: {}; Recolor: { defaultColorReplacements: import("../..").Collection<import("./ColorDictionaryEntry").ColorDictionaryEntry>; currentColorReplacements: import("../..").Collection<import("./ColorDictionaryEntry").ColorDictionaryEntry>; reducedColorImageSource: { id: string; width: number; height: number; isVector: boolean; pageIndex: number; url: string; actualSize: boolean; saveAspectRatio: boolean; origin: import("..").ImageItem.ImageSource.Origin; }; }; }; }