Skip to main content

SpotColor

Classes​

SpotColor​

Extends​

Implements​

Constructors​

Constructor​
new SpotColor(value): SpotColor;
Parameters​
ParameterType
valuestring | ISpotColor
Returns​

SpotColor

Overrides​
Color.constructor

Properties​

alpha​
alpha: number;
Implementation of​

ISpotColor.alpha

Overrides​

Color.alpha

inkColor​
inkColor: Color;
Implementation of​

ISpotColor.inkColor

inkName​
inkName: string;
Implementation of​

ISpotColor.inkName

inkSolidity​
inkSolidity: number;
Implementation of​

ISpotColor.inkSolidity

preview​
preview: string = null;
Implementation of​

ISpotColor.preview

Inherited from​

Color.preview

profileId​
profileId: string = null;
Implementation of​

ISpotColor.profileId

Inherited from​

Color.profileId

tint​
tint: number;
Implementation of​

ISpotColor.tint

Accessors​

previewFromServer​
Get Signature​
get previewFromServer(): boolean;
Returns​

boolean

Inherited from​

Color.previewFromServer

type​
Get Signature​
get type(): string;
Returns​

string

Implementation of​

ISpotColor.type

Overrides​

Color.type

Methods​

clone()​
clone(): SpotColor;
Returns​

SpotColor

Overrides​

Color.clone

equals()​
equals(color): boolean;
Parameters​
ParameterType
colorany
Returns​

boolean

Overrides​

Color.equals

getData()​
getData(): ISpotColor;
Returns​

ISpotColor

Overrides​

Color.getData

needUpdate()​
needUpdate(defaultRgbProfileId): boolean;
Parameters​
ParameterType
defaultRgbProfileIdstring
Returns​

boolean

Inherited from​

Color.needUpdate

toString()​
toString(): string;
Returns​

string

Overrides​

Color.toString

equals()​
static equals(a, b): boolean;
Parameters​
ParameterType
aColor
bColor
Returns​

boolean

Inherited from​

Color.equals

Interfaces​

ISpotColor​

Extends​

Properties​

alpha?​
optional alpha?: number;
inkColor​
inkColor: IColor;
inkName​
inkName: string;
inkSolidity​
inkSolidity: number;
preview?​
optional preview?: string;
Inherited from​

IColor.preview

profileId?​
optional profileId?: string;
Inherited from​

IColor.profileId

tint?​
optional tint?: number;
type?​
optional type?: string;
Inherited from​

IColor.type

Was this page helpful?