Back to API Reference
Enum
LastLineAlignment
Specifies how the final line of a justified paragraph (and lines preceding a mandatory break) is aligned. Mirrors CSS Text Module Level 3 text-align-last.
Remarks
The "last line" of a paragraph is the line ended by a mandatory break (CR / LF / etc.) or the very last line in the document.
Auto matches the CSS default behaviour: when Justify is active, the last line is aligned to the paragraph start.public static readonly LastLineAlignment Auto = 0CSS default: equivalent to Start when justification is active.
public static readonly LastLineAlignment Start = 1Align to the paragraph start edge (left in LTR, right in RTL).
public static readonly LastLineAlignment End = 2Align to the paragraph end edge (right in LTR, left in RTL).
public static readonly LastLineAlignment Center = 3Center the last line horizontally.
public static readonly LastLineAlignment Justify = 4Justify the last line as well, stretching it to fill the available width.
