-
public final class BarVisualizerKt
-
-
Method Summary
Modifier and Type Method Description final static UnitBarVisualizer(Modifier modifier, DrawStyle style, Brush brush, Dp barWidth, Float minHeight, Float maxHeight, FloatArray amplitudes, FloatArray alphas, AnimationSpec<Float> animationSpec)Draws bars evenly split across the width of the composable. -
-
Method Detail
-
BarVisualizer
@Composable() final static Unit BarVisualizer(Modifier modifier, DrawStyle style, Brush brush, Dp barWidth, Float minHeight, Float maxHeight, FloatArray amplitudes, FloatArray alphas, AnimationSpec<Float> animationSpec)
Draws bars evenly split across the width of the composable.
- Parameters:
amplitudes- Values of the bars, between 0.0f and 1.0f, where 1.0f represents the maximum height of the composable.alphas- Alphas of the bars, between 0.0f and 1.0f.
-
-
-
-