ProcessColor
Classes
abstract ProcessColor
Extends
Extended by
Constructors
Constructor
new ProcessColor(alpha, profile?): ProcessColor;
Parameters
| Parameter | Type | Default value |
|---|---|---|
alpha | number | undefined |
profile | string | null |
Returns
Overrides
Accessors
alpha
Get Signature
get alpha(): number;
Returns
number
colorSpace
Get Signature
get colorSpace(): ColorSpace;
Returns
Inherited from
isTransparent
Get Signature
get isTransparent(): boolean;
Returns
boolean
Overrides
profile
Get Signature
get profile(): string;
Returns
string
Methods
clone()
abstract clone(): Color;
Returns
Inherited from
equals()
equals(other): boolean;
Parameters
| Parameter | Type |
|---|---|
other | Color |
Returns
boolean
Overrides
getData()
getData(): IProcessColor;
Returns
Overrides
equals()
static equals(a, b): boolean;
Parameters
| Parameter | Type |
|---|---|
a | Color |
b | Color |
Returns
boolean
Inherited from
Interfaces
IProcessColor
Extends
Extended by
Properties
alpha
alpha: number;
colorSpace
colorSpace: ColorSpace;
Inherited from
profile
profile: string;