PeachDrawing.Text
PeachDrawing.Text.Layout.ParagraphStyle
ParagraphStyle.MaxLines Property
The most lines the paragraph is laid out in (CSS line-clamp), or null for no limit; it must be one or more. Text that does not fit
is cut from the last line, which ends with Ellipsis in its place, and IsTruncated says so. The last line is aligned as
the last line of a paragraph is.
public System.Nullable<int> MaxLines { get; init; }