PgLayout.setJustify

Sets whether each complete line should be stretched to fill the entire width of the layout. This stretching is typically done by adding whitespace, but for some scripts (such as Arabic), the justification may be done in more complex ways, like extending the characters.

Note that this setting is not implemented and so is ignored in Pango older than 1.18.

class PgLayout
void
setJustify
(
bool justify
)

Parameters

justify bool

whether the lines in the layout should be justified.