TextLineMetrics Properties
Properties
Extent | Gets the distance from the top-most to bottom-most black pixel in a line. |
HasOverflowed | Gets a value that indicates whether content of the line overflows the specified paragraph width. |
Height | Gets the height of a line of text. |
NewlineLength | Gets the number of newline characters at the end of a line. |
OverhangAfter | Gets the distance that black pixels extend beyond the bottom alignment edge of a line. |
OverhangLeading | Gets the distance that black pixels extend prior to the left leading alignment edge of the line. |
OverhangTrailing | Gets the distance that black pixels extend following the right trailing alignment edge of the line. |
Start | Gets the distance from the start of a paragraph to the starting point of a line. |
TextBaseline | Gets the distance from the top to the baseline of the line of text. |
TrailingWhitespaceLength | Gets the number of whitespace code points beyond the last non-blank character in a line. |
Width | Gets the width of a line of text, excluding trailing whitespace characters. |
WidthIncludingTrailingWhitespace | Gets the width of a line of text, including trailing whitespace characters. |
See Also
Reference
TextLineMetrics Structure
Avalonia.Media.TextFormatting Namespace