Companion

Functions

Link copied to clipboard
@JvmName(name = "invokeMeasure")
operator fun <T : Units> invoke(model: ConfinedRangeModel<Measure<T>>): CircularRangeSlider<Measure<T>>
@JvmName(name = "invokeChar")
operator fun invoke(model: ConfinedRangeModel<Char>): CircularRangeSlider<Char>
@JvmName(name = "invokeByte")
operator fun invoke(model: ConfinedRangeModel<Byte>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Byte>
@JvmName(name = "invokeDouble")
operator fun invoke(model: ConfinedRangeModel<Double>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Double>
@JvmName(name = "invokeFloat")
operator fun invoke(model: ConfinedRangeModel<Float>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Float>
operator fun invoke(model: ConfinedRangeModel<Int>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Int>
@JvmName(name = "invokeLong")
operator fun invoke(model: ConfinedRangeModel<Long>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Long>
@JvmName(name = "invokeShort")
operator fun invoke(model: ConfinedRangeModel<Short>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Short>
operator fun <T : Comparable<T>> invoke(model: ConfinedRangeModel<T>, converter: Interpolator<T>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<T>
inline operator fun <T : Number, Comparable<T>> invoke(model: ConfinedRangeModel<T>, type: KClass<T>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<T>

Creates a Slider with the given model.

@JvmName(name = "invokeMeasure")
operator fun <T : Units> invoke(limits: ClosedRange<Measure<T>>, value: ClosedRange<Measure<T>> = limits.start .. limits.start, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Measure<T>>
@JvmName(name = "invokeByte")
operator fun invoke(limits: ClosedRange<Byte>, value: ClosedRange<Byte> = (limits.start .. limits.start) as ClosedRange<Byte>, function: InvertibleFunction): CircularRangeSlider<Byte>
@JvmName(name = "invokeChar")
operator fun invoke(limits: ClosedRange<Char>, value: ClosedRange<Char> = limits.start .. limits.start, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Char>
@JvmName(name = "invokeDouble")
operator fun invoke(limits: ClosedRange<Double>, value: ClosedRange<Double> = limits.start .. limits.start, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Double>
@JvmName(name = "invokeFloat")
operator fun invoke(limits: ClosedRange<Float>, value: ClosedRange<Float> = limits.start .. limits.start, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Float>
operator fun invoke(limits: ClosedRange<Int>, value: ClosedRange<Int> = limits.start .. limits.start, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Int>
@JvmName(name = "invokeLong")
operator fun invoke(limits: ClosedRange<Long>, value: ClosedRange<Long> = limits.start .. limits.start, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Long>
@JvmName(name = "invokeShort")
operator fun invoke(limits: ClosedRange<Short>, value: ClosedRange<Short> = (limits.start .. limits.start) as ClosedRange<Short>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<Short>
operator fun <T : Comparable<T>> invoke(limits: ClosedRange<T>, converter: Interpolator<T>, value: ClosedRange<T> = limits.start .. limits.start, function: InvertibleFunction = LinearFunction): CircularRangeSlider<T>

Creates a Slider with a given range and starting value.