invoke

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

Creates a Slider with a given range and starting value.

Parameters

limits

of the bar

value

to start with


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

Creates a Slider with the given model.

Parameters

model

of the bar


inline operator fun <T : Number, Comparable<T>> invoke(model: ConfinedRangeModel<T>, type: KClass<T>, function: InvertibleFunction = LinearFunction): CircularRangeSlider<T>(source)

Deprecated

Use explicit inline versions for numbers instead.

Creates a Slider with the given model.

Parameters

model

of the bar

type

class type of the slider