Layout.setAlignment

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

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

class Layout
void
setAlignment

Parameters

alignment pango.types.Alignment

the alignment