Karaoke Line Text
Renders a single karaoke line, capable of handling multi-row wrapping.
This composable pre-calculates the text layout using NativeTextEngine and then renders the frames using an efficient Canvas drawing strategy. It handles:
Text measurement and line breaking
Syllable and character-level animations (bounce, rise, swell)
Karaoke fill gradient application
Parameters
The karaoke line data.
Provider for the current playback time.
Modifier for the layout.
Style for normal lines.
Style for accompaniment lines.
Color for the active (sung) portion of text.
Blend mode for drawing.
Debug flag for layout bounds.
Optional pre-calculated layouts (optimization).
Whether this line is part of a duet view.
Text measurer for layout (default provided).
Optional font resource for the native engine.
Optional shared native engine instance.
Optional shared atlas manager instance.