Skip to main content

TextMetrics Properties

Properties

AscentGets the recommended distance above the baseline.
DescentGets the recommended distance under the baseline.
FontRenderingEmSizeEm size of font used to format and display text
LineGapGets the recommended additional space between two lines of text.
LineHeightGets the estimated line height.
StrikethroughPositionGets a value that indicates the distance of the strikethrough from the baseline.
StrikethroughThicknessGets a value that indicates the thickness of the underline.
UnderlinePositionGets a value that indicates the distance of the underline from the baseline.
UnderlineThicknessGets a value that indicates the thickness of the underline.

See Also

Reference

TextMetrics Structure
Avalonia.Media.TextFormatting Namespace