Back to Website
Show / Hide Table of Contents

Class SpotColor

Inheritance
Color
SpotColor
Package: @aurigma/design-atoms-model

Constructors

(constructor)(ink, tint, alpha)

Constructs a new instance of the SpotColor class

Declaration
constructor(ink: Ink, tint: number, alpha?: number);
Parameters
Type Name Description
Ink ink
number tint
number alpha

Properties

_colorSpace

Declaration
protected readonly _colorSpace: ColorSpace;
Property Value
Type Description
ColorSpace

alpha

Declaration
get alpha(): number;
Property Value
Type Description
number

ink

Declaration
get ink(): Ink;
Property Value
Type Description
Ink

isTransparent

Declaration
get isTransparent(): boolean;
Property Value
Type Description
boolean

tint

Declaration
get tint(): number;
Property Value
Type Description
number

Methods

clone()

Declaration
clone(): Color;
Returns
Type Description
Color

equals(other)

Declaration
equals(other: Color): boolean;
Parameters
Type Name Description
Color other
Returns
Type Description
boolean

getData()

Declaration
getData(): ISpotColor;
Returns
Type Description
ISpotColor

toString()

Declaration
toString(): string;
Returns
Type Description
string
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback