Class GrayscaleColor
Inheritance
GrayscaleColor
Constructors
(constructor)(value, alpha, profile)
Constructs a new instance of the GrayscaleColor class
Declaration
constructor(value: number, alpha: number, profile?: string);
Parameters
| Type |
Name |
Description |
| number |
value |
|
| number |
alpha |
|
| string |
profile |
|
Properties
_colorSpace
Declaration
protected readonly _colorSpace: ColorSpace;
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
getData(): IGrayscaleColor;
Returns
toString()
Declaration
Returns