drawLyricsLine

fun ERROR CLASS: Symbol not found for DrawScope.drawLyricsLine(lineLayouts: List<List<SyllableLayout>>, currentTimeMs: Int, color: ERROR CLASS: Symbol not found for Color, blendMode: ERROR CLASS: Symbol not found for BlendMode, isRtl: Boolean, showDebugRectangles: Boolean = false, atlasManager: SdfAtlasManager? = null)

Draws a multi-row lyrics line into the canvas. Handles row wrapping, padding, and applying the karaoke progress gradient.

Parameters

lineLayouts

The pre-calculated layout of syllables, organized by rows.

currentTimeMs

The current playback time in milliseconds.

color

The base text color.

blendMode

The blend mode to use for drawing.

isRtl

Whether the layout direction is Right-to-Left.

showDebugRectangles

Whether to draw debug outlines around glyphs.

atlasManager

The SDF atlas manager for rendering text.