Alignment#

class Alignment#

PangoAlignment describes how to align the lines of a PangoLayout within the available space.

If the PangoLayout is set to justify using set_justify, this only affects partial lines.

See set_auto_dir for how text direction affects the interpretation of PangoAlignment values.

Fields#

class Alignment
CENTER#

Center the line within the available space

LEFT#

Put all available space on the right

RIGHT#

Put all available space on the left