namespace Avalonia.Media { public readonly record struct GlyphRunMetrics { public GlyphRunMetrics(double width, int trailingWhitespaceLength, int newLineLength, int firstCluster, int lastCluster) { Width = width; TrailingWhitespaceLength = trailingWhitespaceLength; NewLineLength = newLineLength; FirstCluster = firstCluster; LastCluster = lastCluster; } public double Width { get; } public int TrailingWhitespaceLength { get; } public int NewLineLength { get; } public int FirstCluster { get; } public int LastCluster { get; } } }