Class LabColor
Constructors
(constructor)(l, a, b, alpha, profile)
Constructs a new instance of the LabColor class
Declaration
constructor(l: number, a: number, b: number, alpha: number, profile?: string);
Parameters
| Type |
Name |
Description |
| number |
l |
|
| number |
a |
|
| number |
b |
|
| number |
alpha |
|
| string |
profile |
|
Properties
_colorSpace
Declaration
protected readonly _colorSpace: ColorSpace;
Property Value
a
Declaration
Property Value
b
Declaration
Property Value
l
Declaration
Property Value
Methods
clone()
Declaration
Returns
equals(other)
Declaration
equals(other: Color): boolean;
Parameters
| Type |
Name |
Description |
| Color |
other |
|
Returns
getData()
Declaration
Returns
toString()
Declaration
Returns