LabColor
Classes
LabColor
Extends
Implements
Constructors
Constructor
new LabColor(value): LabColor;
Parameters
| Parameter | Type |
|---|---|
value | string | ILabColor |
Returns
Overrides
Color.constructor;
Properties
a
a: number = -128;
Implementation of
alpha
alpha: number = 0;
Implementation of
Overrides
b
b: number = -128;
Implementation of
l
l: number = 0;
Implementation of
preview
preview: string = null;
Implementation of
Inherited from
profileId
profileId: string = null;
Implementation of
Inherited from
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(): LabColor;
Returns
Overrides
equals()
equals(color): boolean;
Parameters
| Parameter | Type |
|---|---|
color | any |
Returns
boolean
Overrides
getData()
getData(): ILabColor;
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
ILabColor
Extends
Properties
a
a: number;
alpha?
optional alpha?: number;
b
b: number;
l
l: number;
preview?
optional preview?: string;
Inherited from
profileId?
optional profileId?: string;
Inherited from
type?
optional type?: string;