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.

24 lines (23 loc) 661 B
import { Color, IColor } from "./Color"; import { ColorSpace } from "./ColorSpace"; import { IInk, Ink } from "./Ink"; export interface ISpotColor extends IColor { ink: IInk; tint: number; alpha: number; } export declare class SpotColor extends Color { protected readonly _colorSpace: ColorSpace; private _ink; private _tint; private _alpha; constructor(ink: Ink, tint: number, alpha?: number); get ink(): Ink; get tint(): number; get alpha(): number; get isTransparent(): boolean; equals(other: Color): boolean; clone(): Color; getData(): ISpotColor; toString(): string; }