LinearValuesDistribution

Represents a linear distribution strategy for slider values.

Functions

Link copied to clipboard
open override fun interpolate(value: Float): Float

Interpolates a value based on the distribution strategy.

Link copied to clipboard
open override fun inverse(value: Float): Float

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