ParagraphFormatter

fun ParagraphFormatter(    windowWidth: Int = 80,     leftMargin: Int = 0,     rightMargin: Int = 0,     firstIndent: Int = 0,     restIndent: Int = 0)

Construct a new ParagraphFormatter that formats strings to wrap within the supplied window width, if possible. All text is padded within the specified margins.

Parameters

windowWidth

The number of characters that can fit horizontally in the window.

leftMargin

The number of spaces that all text should be, minimum, from the left side of the screen.

rightMargin

The number of spaces that all text should be, minimum, from the right side of the screen.