Companion

object Companion

Properties

Link copied to clipboard

A linear distribution strategy where the input value is directly mapped to the output value. Used in Slider by default

Functions

Link copied to clipboard

Creates a SliderValuesDistribution with a distribution strategy based on a list of check points. Each check point is a pair of offset fraction and value that will be associated with with this progress The distribution will interpolate between the check points using linear equations.

Link copied to clipboard
fun parabolic(a: Float, b: Float = 0.0f, c: Float = 0.0f): SliderValuesDistribution

Creates a SliderValuesDistribution with a parabolic distribution strategy.