align

fun align(alignments: List<HorizontalAlign>)
fun align(vararg alignments: HorizontalAlign)


Sets the horizontal alignment of the text within the box. Has an effect only if text spans two or more lines (i.e. text contains one or more
HTML tags) or if an explicit width is set to override the text width.

Defaults to center.