| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
options |
Partial<HslAdjustmentFilterOptions> |
<optional> |
The optional parameters of the filter. |
|
options.hue |
number |
<optional> |
0 |
The amount of hue in degrees (-180 to 180) |
options.saturation |
number |
<optional> |
0 |
The amount of color saturation (-1 to 1) |
options.lightness |
number |
<optional> |
0 |
The amount of lightness (-1 to 1) |
options.colorize |
boolean |
<optional> |
false |
Whether to colorize the image |
options.alpha |
number |
<optional> |
1 |
The amount of alpha (0 to 1) |
Extends
- PIXI.Filter
Members
Default values for options.
Properties:
| Name | Type | Default | Description |
|---|---|---|---|
alpha |
number | 1 |
Alpha |
colorize |
boolean | false |
Colorize |
hue |
number | 0 |
Hue |
lightness |
number | 0 |
Lightness |
saturation |
number | 0 |
Saturation |
Alpha (0-1)
- Default Value:
- 1
Colorize (render as a single color)
- Default Value:
- false
Hue (-180 to 180)
- Default Value:
- 0
Lightness (-1 to 1)
- Default Value:
- 0
Saturation (-1 to 1)
- Default Value:
- 0

