BasicRangeSliderBehavior

class BasicRangeSliderBehavior<T : Comparable<T>>(barFill: (RangeSlider<T>) -> Paint, startKnobFill: (RangeSlider<T>) -> Paint, endKnobFill: (RangeSlider<T>) -> Paint = startKnobFill, rangeFill: (RangeSlider<T>) -> Paint = endKnobFill, grooveThicknessRatio: Float = 0.6f, showTicks: TickPresentation? = null, focusManager: FocusManager? = null) : AbstractRangeSliderBehavior<T> (source)

Constructors

Link copied to clipboard
constructor(barFill: Paint = Lightgray.paint, startKnobFill: Paint = Blue.paint, endKnobFill: Paint = startKnobFill, rangeFill: Paint = endKnobFill, grooveThicknessRatio: Float = 0.6f, showTicks: TickPresentation? = null, focusManager: FocusManager? = null)
constructor(barFill: (RangeSlider<T>) -> Paint, startKnobFill: (RangeSlider<T>) -> Paint, endKnobFill: (RangeSlider<T>) -> Paint = startKnobFill, rangeFill: (RangeSlider<T>) -> Paint = endKnobFill, grooveThicknessRatio: Float = 0.6f, showTicks: TickPresentation? = null, focusManager: FocusManager? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Inherited properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun render(view: RangeSlider<T>, canvas: Canvas)

Inherited functions

Link copied to clipboard
open fun <A : Comparable<A>, Number> RangeSlider<A>.adjust(startBy: Double, endBy: Double)
Link copied to clipboard
Link copied to clipboard
open fun clicked(event: PointerEvent)
Link copied to clipboard
Link copied to clipboard
open fun contains(view: RangeSlider<T>, point: Point): Boolean
Link copied to clipboard
open override fun dragged(event: PointerEvent)
Link copied to clipboard
protected fun endHandlePosition(slider: RangeSlider<T>): Double
Link copied to clipboard
open fun entered(event: PointerEvent)
Link copied to clipboard
open fun exited(event: PointerEvent)
Link copied to clipboard
protected fun handlePosition(slider: RangeSlider<T>, fraction: Float): Double
Link copied to clipboard
protected fun handleSize(slider: RangeSlider<T>): Double
Link copied to clipboard
open override fun install(view: RangeSlider<T>)
Link copied to clipboard
Link copied to clipboard
open fun moved(event: PointerEvent)
Link copied to clipboard
open override fun pressed(event: KeyEvent)
open override fun pressed(event: PointerEvent)
Link copied to clipboard
protected fun rangeSize(slider: RangeSlider<T>): Double
Link copied to clipboard
open fun released(event: KeyEvent)
open fun released(event: PointerEvent)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected fun startHandlePosition(slider: RangeSlider<T>): Double
Link copied to clipboard
open override fun uninstall(view: RangeSlider<T>)