BuiltLine

class BuiltLine(val index: Int, val lyric: Lyric, val time: Double, val duration: Double, val isInstrumental: Boolean, val isBlank: Boolean, val agent: String?, val direction: TextDirection, val language: String, val content: LineContent?) : TimedPart(source)

One line as the renderer draws it: upstream's LineData and the element built for it. Times in seconds.

Constructors

Link copied to clipboard
constructor(index: Int, lyric: Lyric, time: Double, duration: Double, isInstrumental: Boolean, isBlank: Boolean, agent: String?, direction: TextDirection, language: String, content: LineContent?)

Properties

Link copied to clipboard

v1 lead, v2/v3 the other side, v1000 the group. An instrumental takes its neighbours'.

Link copied to clipboard

Null for an instrumental line.

Link copied to clipboard

Which way the line reads.

Link copied to clipboard
open override val duration: Double

How long it lasts, in seconds.

Link copied to clipboard
val index: Int

The line's place in BuiltLyrics.lines.

Link copied to clipboard

A sung line with no words, which marks a pause.

Link copied to clipboard

Whether the line stands for a break without singing.

Link copied to clipboard

The line's language, "" where it cannot be told.

Link copied to clipboard
val lyric: Lyric

The lyric the line was built from, untouched.

Link copied to clipboard
open override val time: Double

When it starts, in seconds of lyric time.

Link copied to clipboard

Every word of the line, in the order they are sung. Empty for an instrumental.