Style.wrapText

Split the text into multiple lines in order to fit within given width.

class Style
const
wrapText
(
double width
,
string text
,)

Parameters

width double

Container width the text should fit in.

text string

Text to wrap.

lineFeedsOnly bool

If true, this should only wrap the text on line feeds.

Meta