Layout.setAlignment

void setAlignment(pango.types.Alignment alignment)

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

The default alignment is [pango.types.Alignment.Left].

Parameters

alignmentthe alignment