VerseLayoutPlanner

Plans line turnovers for a whole passage rather than letting each line wrap alone.

Functions

Link copied to clipboard
fun plan(lines: List<List<Double>>, spaceWidth: Double, candidateWidths: List<Double>, indent: Double): VerseLayoutPlan

Chooses a column width and balanced row starts for the supplied word widths.