Progression
Referencespublic enum Progression
Enumerates the possible colour interpolations for a gradient.
Enum values
| Name | Value | Description |
|---|---|---|
| Nearest | 1 | Gradient colour is derived from the nearest grip. |
| Immediate | 2 | Gradient colour is derived from the immediate grip to the left. |
| Linear | 10 | Gradient colour is interpolated linearly between adjacent grips. |
| Smooth | 11 | Gradient colour is interpolated using a smooth in/out polynomial between adjacent grips. |
| Cubic | 20 | Gradient colour is interpolated using a cubic polynomial through all grips. |
| Cyclic | 21 | Gradient colour is interpolated using a cubic polynomial through all grips, where the derivatives at the start and at the end of the gradient are kept continuous. |
| Gaussian | 30 | Gradient colour is a weighted average of all grips. |