TextWrapStyle
type TextWrapStyle = 'AUTO' | 'BALANCE' | 'PRETTY'
Controls how text wraps within a paragraph. The possible values are:
'AUTO': The default. Uses the standard line-breaking algorithm.'BALANCE': Attempts to equalize line lengths across lines in the paragraph. Useful for headings and short text blocks where visual balance matters. Due to performance considerations,BALANCEonly works for paragraphs that are 6 wrapped lines or under.'PRETTY': Reduces orphaned words at the end of paragraphs. Useful for body text where readability is the priority.