@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.
14 lines (13 loc) • 653 B
TypeScript
import { Color, IColor, ColorConstructor } from "./Color";
export declare class ColorFactory {
private static _createFunctionByType;
private static _createFunctionByName;
static registerColor(typeName: string, shortName: string, colorConstructor: ColorConstructor): void;
private static _rgbColorProfileId;
static set rgbColorProfileId(value: string);
private static _updateRgbColor;
static createColor(value: Color | string | IColor, throwException?: boolean, attachRgbColorProfile?: boolean): Color;
private static _createColorByName;
private static _createColorByType;
private static _fromData;
}