Package 

Class BarVisualizerKt

    • Method Summary

      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.