Name | Type | Attributes | Description |
---|---|---|---|
options |
ColorGradientFilterOptions | ColorGradientFilterCSSOptions |
<optional> |
Options for the ColorGradientFilter constructor. |
Extends
- Filter
Members
defaults ColorGradientFilterOptions staticreadonly
Default constructor options
Gradient types
- Default Value:
- 0
The alpha value of the gradient (0-1)
- Default Value:
- 1
The angle of the gradient in degrees
- Default Value:
- 90
The maximum number of colors to render (0 = no limit)
- Default Value:
- 0
If true, the gradient will replace the existing color, otherwise it will be multiplied with it
- Default Value:
- false
The type of gradient
- Default Value:
- ColorGradientFilter.LINEAR