invoke
operator fun invoke(range: ClosedRange<Int>, value: Int = range.start, function: InvertibleFunction = LinearFunction): CircularSlider<Int>(source)
operator fun invoke(range: ClosedRange<Float>, value: Float = range.start, function: InvertibleFunction = LinearFunction): CircularSlider<Float>(source)
operator fun invoke(range: ClosedRange<Double>, value: Double = range.start, function: InvertibleFunction = LinearFunction): CircularSlider<Double>(source)
operator fun invoke(range: ClosedRange<Long>, value: Long = range.start, function: InvertibleFunction = LinearFunction): CircularSlider<Long>(source)
operator fun invoke(range: ClosedRange<Short>, value: Short = range.start, function: InvertibleFunction = LinearFunction): CircularSlider<Short>(source)
operator fun invoke(range: ClosedRange<Byte>, value: Byte = range.start, function: InvertibleFunction = LinearFunction): CircularSlider<Byte>(source)
operator fun invoke(range: CharRange, value: Char = range.first, function: InvertibleFunction = LinearFunction): CircularSlider<Char>(source)
operator fun <T : Units> invoke(range: ClosedRange<Measure<T>>, value: Measure<T> = range.start, function: InvertibleFunction = LinearFunction): CircularSlider<Measure<T>>(source)
operator fun <T : Comparable<T>> invoke(range: ClosedRange<T>, converter: Interpolator<T>, value: T = range.start, function: InvertibleFunction = LinearFunction): CircularSlider<T>(source)
Creates a CircularSlider with a given range and starting value.
Parameters
range
of the bar
value
to start with
operator fun invoke(model: ConfinedValueModel<Int>, function: InvertibleFunction = LinearFunction): CircularSlider<Int>(source)
operator fun invoke(model: ConfinedValueModel<Float>, function: InvertibleFunction = LinearFunction): CircularSlider<Float>(source)
operator fun invoke(model: ConfinedValueModel<Double>, function: InvertibleFunction = LinearFunction): CircularSlider<Double>(source)
operator fun invoke(model: ConfinedValueModel<Long>, function: InvertibleFunction = LinearFunction): CircularSlider<Long>(source)
operator fun invoke(model: ConfinedValueModel<Short>, function: InvertibleFunction = LinearFunction): CircularSlider<Short>(source)
operator fun invoke(model: ConfinedValueModel<Byte>, function: InvertibleFunction = LinearFunction): CircularSlider<Byte>(source)
operator fun invoke(model: ConfinedValueModel<Char>, function: InvertibleFunction = LinearFunction): CircularSlider<Char>(source)
operator fun <T : Units> invoke(model: ConfinedValueModel<Measure<T>>): CircularSlider<Measure<T>>(source)
operator fun <T : Comparable<T>> invoke(model: ConfinedValueModel<T>, converter: Interpolator<T>, function: InvertibleFunction = LinearFunction): CircularSlider<T>(source)
Creates a CircularSlider with the given model.
Parameters
model
of the bar
inline operator fun <T : Number, Comparable<T>> invoke(model: ConfinedValueModel<T>, type: KClass<T>, function: InvertibleFunction = LinearFunction): CircularSlider<T>(source)
Deprecated
Use explicit inline versions for numbers instead.
Creates a CircularSlider with the given model.
Parameters
model
of the bar
type
class type of the slider