TextMetrics Structure
A metric that holds information about text specific measurements.
Namespace: Avalonia.Media.TextFormattingAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public readonly struct TextMetrics : IEquatable<TextMetrics>
Public Structure TextMetrics
Implements IEquatable(Of TextMetrics)
[<SealedAttribute>]
type TextMetrics =
struct
inherit ValueType
interface IEquatable<TextMetrics>
end
- Inheritance
- Object ValueType TextMetrics
- Implements
- IEquatableTextMetrics
| Ascent |
Gets the recommended distance above the baseline.
|
| Descent |
Gets the recommended distance under the baseline.
|
| FontRenderingEmSize |
Em size of font used to format and display text
|
| LineGap |
Gets the recommended additional space between two lines of text.
|
| LineHeight |
Gets the estimated line height.
|
| StrikethroughPosition |
Gets a value that indicates the distance of the strikethrough from the baseline.
|
| StrikethroughThickness |
Gets a value that indicates the thickness of the underline.
|
| UnderlinePosition |
Gets a value that indicates the distance of the underline from the baseline.
|
| UnderlineThickness |
Gets a value that indicates the thickness of the underline.
|