BasicCircularSliderBehavior

constructor(barFill: Paint = Lightgray.paint, knobFill: Paint = Blue.paint, rangeFill: Paint? = null, thickness: Double = 20.0, focusManager: FocusManager? = null, showTicks: CircularTickPresentation? = null, startAngle: Measure<Angle> = _270)(source)

Creates a basic behavior for rendering CircularSliders.

Parameters

barFill

for the slider's background

knobFill

for the knob

rangeFill

for the slider's range region

thickness

of the slider

showTicks

indicates if/how ticks should be drawn

startAngle

where the slider's 0 position should be

focusManager

used to manage focus


constructor(barFill: (CircularSlider<T>) -> Paint, knobFill: (CircularSlider<T>) -> Paint, rangeFill: (CircularSlider<T>) -> Paint? = null, thickness: Double = 20.0, showTicks: CircularTickPresentation? = null, startAngle: Measure<Angle> = _270, focusManager: FocusManager? = null)(source)

Parameters

barFill

for the slider's background

knobFill

for the knob

rangeFill

for the slider's range region

thickness

of the slider

showTicks

indicates if/how ticks should be drawn

startAngle

where the slider's 0 position should be

focusManager

used to manage focus