The text to stack (line breaks are \n).
true when the cell wraps: line breaks start new columns and a column longer than
capacity breaks (see the module notes). false keeps one column with a line break as a blank
slot.
The slots per column before a wrapped column breaks. Pass
Number.MAX_SAFE_INTEGER to split on line breaks only (the measure Excel's autofit uses).
Columns keep their leading/trailing spaces — those count for measurement. layoutColumns trims them for painting.
Splits text into columns of slots.