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.

19 lines (18 loc) 555 B
import { Color, IColor } from "./Color"; export interface IGrayscaleColor extends IColor { l: number; a?: number; } export declare class GrayscaleColor extends Color implements IGrayscaleColor { constructor(value: IGrayscaleColor); l: number; a: number; get type(): string; get alpha(): number; clone(): GrayscaleColor; equals(color: any): boolean; toString(): string; getData(): IGrayscaleColor; protected _getPreview(): string; protected _init(colorObject: IGrayscaleColor): void; }