SliderValuesDistribution

Determines how the values will be distributed across the slider Usually the values are distributed in a linear fashion, this interfaces allows to control the distribution using simple math expressions

See also

to see how values can be distributed using parabolic curve

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun interpolate(value: Float): Float

Interpolates a value based on the distribution strategy.

Link copied to clipboard
abstract fun inverse(value: Float): Float

Inversely interpolates a value from the output range to the input range based on the distribution strategy.