Companion

Functions

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

Creates a CircularSlider with the given model.

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

Creates a CircularSlider with a given range and starting value.