SpotColor
Classes
SpotColor
Extends
Implements
Constructors
Constructor
new SpotColor(value): SpotColor;
Parameters
| Parameter | Type |
|---|---|
value | string | ISpotColor |
Returns
Overrides
Color.constructor;
Properties
alpha
alpha: number;
Implementation of
Overrides
inkColor
inkColor: Color;
Implementation of
inkName
inkName: string;
Implementation of
inkSolidity
inkSolidity: number;
Implementation of
preview
preview: string = null;
Implementation of
Inherited from
profileId
profileId: string = null;
Implementation of
Inherited from
tint
tint: number;
Implementation of
Accessors
previewFromServer
Get Signature
get previewFromServer(): boolean;
Returns
boolean
Inherited from
type
Get Signature
get type(): string;
Returns
string
Implementation of
Overrides
Methods
clone()
clone(): SpotColor;
Returns
Overrides
equals()
equals(color): boolean;
Parameters
| Parameter | Type |
|---|---|
color | any |
Returns
boolean
Overrides
getData()
getData(): ISpotColor;
Returns
Overrides
needUpdate()
needUpdate(defaultRgbProfileId): boolean;
Parameters
| Parameter | Type |
|---|---|
defaultRgbProfileId | string |
Returns
boolean
Inherited from
toString()
toString(): string;
Returns
string
Overrides
equals()
static equals(a, b): boolean;
Parameters
| Parameter | Type |
|---|---|
a | Color |
b | Color |
Returns
boolean
Inherited from
Interfaces
ISpotColor
Extends
Properties
alpha?
optional alpha?: number;
inkColor
inkColor: IColor;
inkName
inkName: string;
inkSolidity
inkSolidity: number;
preview?
optional preview?: string;
Inherited from
profileId?
optional profileId?: string;
Inherited from
tint?
optional tint?: number;
type?
optional type?: string;