PeachDrawing.Text

PeachDrawing.Text.Layout

LineBox Class

One line of a laid-out paragraph.

public sealed class LineBox

Inheritance System.Object → LineBox

Properties  
Ascent The distance from the top of the line box to its baseline.
Baseline The distance from the top of the layout to the baseline.
Bounds The rectangle the line’s text is in.
ContentEnd The offset where the line’s drawn text ends; what follows up to the end of Range hangs, or is hidden if IsTruncated.
Descent The distance from the baseline to the bottom of the line box.
End Why the line ends where it does.
Height The height of the line box.
IsTruncated Whether the line’s text is cut short, by MaxLines or TextOverflow: what follows ContentEnd in Range is not drawn, and a run that is IsGenerated holds the ellipsis, unless Ellipsis is empty.
Left The distance from the left edge of the layout to the left edge of the line’s text, after alignment.
Range The text of the line, including the spaces that hang at its end, the character that forces a break, and the text hidden by a cut (see IsTruncated).
Runs The runs of the line, in the order they are drawn from left to right.
Top The distance from the top of the layout to the top of the line box.
Width The width of the line’s drawn text, not counting hanging spaces.