SeslProgressBarGradientSmoother
Smooths color and position stops for progress bar gradients introduced in SESL9 (One UI 8.5).
This utility uses Catmull-Rom cubic spline interpolation in sRGB/linear color space to eliminate sharp color transitions between discrete stop colors, generating a higher-density smoothed stop array used by {@link SeslProgressBar#MODE_GRADIENT_HORIZONTAL} and {@link SeslProgressBar#MODE_GRADIENT_CIRCLE}.
Functions
Link copied to clipboard
fun smoothStopsCubic(stopColors: IntArray?, stopPos01: FloatArray?, samplesPerSegment: Int): SeslProgressBarGradientSmoother.Result