foldkit-viz - v0.15.0
    Preparing search index...

    Function wrapText

    • Greedy wrapping with caller-supplied font measurement. Preserves explicit newlines, collapses intra-line whitespace and breaks long words on graphemes. Overflow means omitted lines or a single grapheme wider than the budget.

      Parameters

      Returns TextLayout