BasicCircularRangeSliderBehavior

class BasicCircularRangeSliderBehavior<T : Comparable<T>>(barFill: (CircularRangeSlider<T>) -> Paint, startKnobFill: (CircularRangeSlider<T>) -> Paint, endKnobFill: (CircularRangeSlider<T>) -> Paint, rangeFill: (CircularRangeSlider<T>) -> Paint? = endKnobFill, thickness: Double = 20.0, focusManager: FocusManager? = null) : AbstractCircularRangeSliderBehavior<T> (source)

Creates a basic behavior for rendering CircularRangeSliders. It allows customization of the bar, range, thickness, and knobs at either end of the slider.

Parameters

barFill

for the slider's background

startKnobFill

for the knob at the start of the slider's range

endKnobFill

for the knob at the end of the slider's range

rangeFill

for the slider's range region

thickness

of the slider

focusManager

used to manage focus

Constructors

Link copied to clipboard
constructor(barFill: Paint = Lightgray.paint, startKnobFill: Paint = Blue.paint, endKnobFill: Paint = Blue.paint, rangeFill: Paint? = endKnobFill, thickness: Double = 20.0, focusManager: FocusManager? = null)

Creates a basic behavior for rendering CircularRangeSliders.

constructor(barFill: (CircularRangeSlider<T>) -> Paint, startKnobFill: (CircularRangeSlider<T>) -> Paint, endKnobFill: (CircularRangeSlider<T>) -> Paint, rangeFill: (CircularRangeSlider<T>) -> Paint? = endKnobFill, thickness: Double = 20.0, focusManager: FocusManager? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Inherited properties

Link copied to clipboard
Link copied to clipboard

Functions

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

Inherited functions

Link copied to clipboard
open fun <A : Comparable<A>, Number> CircularRangeSlider<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: CircularRangeSlider<T>, point: Point): Boolean
Link copied to clipboard
open override fun dragged(event: PointerEvent)
Link copied to clipboard
Link copied to clipboard
open fun entered(event: PointerEvent)
Link copied to clipboard
open fun exited(event: PointerEvent)
Link copied to clipboard
open override fun install(view: CircularRangeSlider<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
open fun released(event: KeyEvent)
open fun released(event: PointerEvent)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun uninstall(view: CircularRangeSlider<T>)