@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.
24 lines (23 loc) • 627 B
TypeScript
import { Color, IColor } from "./Color";
export interface ILabColor extends IColor {
l: number;
a: number;
b: number;
alpha?: number;
}
export declare class LabColor extends Color implements ILabColor {
private static _lab;
constructor(value: ILabColor | string);
get type(): string;
l: number;
a: number;
b: number;
alpha: number;
private _tryInitFromString;
clone(): LabColor;
equals(color: any): boolean;
toString(): string;
getData(): ILabColor;
protected _getPreview(): string;
protected _init(colorObject: ILabColor): void;
}