-
public final class WaveformTrackStyleRepresents the style for the waveform track.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classWaveformTrackStyle.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ColorpassedColorprivate final ColorfutureColorprivate final DpminBarHeightprivate final FloatbarSpacingRatio
-
Constructor Summary
Constructors Constructor Description WaveformTrackStyle(Color passedColor, Color futureColor, Dp minBarHeight, Float barSpacingRatio)
-
Method Summary
Modifier and Type Method Description final ColorgetPassedColor()final ColorgetFutureColor()final DpgetMinBarHeight()final FloatgetBarSpacingRatio()-
-
Constructor Detail
-
WaveformTrackStyle
WaveformTrackStyle(Color passedColor, Color futureColor, Dp minBarHeight, Float barSpacingRatio)
- Parameters:
passedColor- The color for the passed part of the waveform.futureColor- The color for the future part of the waveform.minBarHeight- The minimum height for the waveform bars.barSpacingRatio- The ratio for the spacing between the waveform bars.
-
-
Method Detail
-
getPassedColor
final Color getPassedColor()
-
getFutureColor
final Color getFutureColor()
-
getMinBarHeight
final Dp getMinBarHeight()
-
getBarSpacingRatio
final Float getBarSpacingRatio()
-
-
-
-