layout

fun LabelSpec.layout(lengthDots: Int, measurer: LabelTextMeasurer, encoder: QrEncoder = LabelQrEncoder): LabelLayout?(source)

Lays this out for a label lengthDots long, or returns null when its QR does not fit the head at 2 dots per module. A contact's long name is cut in the QR payload first; a channel or connect link has nothing to cut.