OkHsvHueSlider

fun OkHsvHueSlider(currentH: Float, onHueChanged: (Float) -> Unit, hapticEffect: SliderDefaults.SliderHapticEffect = SliderDefaults.DefaultHapticEffect)

A OkHsvHueSlider component for selecting the hue of a color using OkHSV color space.

Parameters

currentH

The current hue value (0-1).

onHueChanged

The callback to be called when the hue changes.

hapticEffect

The haptic effect of the OkHsvHueSlider.