PeachDrawing.Text

PeachDrawing.Text.Layout

TextAlign Enum

Where the text of a line is aligned within the available width (CSS text-align).

public enum TextAlign

Fields

Start 0

The side the paragraph’s text starts on: left for a left-to-right paragraph, right for a right-to-left one.

End 1

The side the paragraph’s text ends on.

Left 2

The left edge.

Right 3

The right edge.

Center 4

The middle.

Justify 5

Both edges: the room a line has left is shared out to fill it, at the spaces and, as TextJustify says, between characters. The last line of the paragraph and a line that ends in a forced break are aligned as AlignLast says (the start, by default), and a line with nowhere to add room is not changed.