Line
data class Line(val strokeWidth: Dp = 2.dp, val smoothing: Float = 0.5f, val cap: StrokeCap = StrokeCap.Round) : WaveformStyle
Smooth connected line visualization.
Renders amplitude values as a continuous line with optional Bezier smoothing.
Parameters
strokeWidth
Width of the line
smoothing
Bezier curve smoothing factor (0 = sharp corners, 1 = maximum smoothing)
cap
Stroke cap style for line ends