setAlignment

open fun setAlignment(alignment: Alignment)(source)

Sets the alignment for the layout: how partial lines are positioned within the horizontal space available.

The default alignment is %PANGO_ALIGN_LEFT.

Parameters

alignment

the alignment