AbstractStaticbezierInterpolates between two colors using a Quadratic Bezier curve to preserve vibrancy.
Start color
End color
Position (0.0 to 1.0)
Optionalopts: BezierColorOptsThe options.
The interpolated color.
StaticbilinearCompute a bilinear interpolation between four colors.
Top-Left color.
Top-Right color.
Bottom-Left color.
Bottom-Right color.
The horizontal factor (0-1).
The vertical factor (0-1).
Optionalopts: Partial<LinearColorOpts>The linear interpolation options.
The interpolated color.
StaticlinearLinear interpolation.
Start color
End color
Position (0.0 to 1.0)
Optionalopts: Partial<LinearColorOpts>The options.
Staticspline
Interpolation functions.