ImageSharp/SixLabors.Fonts/HorizontalMetrics.cs
2026-08-03 22:31:27 +02:00

29 lines
771 B
C#

// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.Fonts {
/// <summary>
/// Represent the metrics of a font face specific to horizontal text.
/// </summary>
public class HorizontalMetrics : IMetricsHeader
{
/// <inheritdoc/>
public short Ascender { get; internal set; }
/// <inheritdoc/>
public short Descender { get; internal set; }
/// <inheritdoc/>
public short LineGap { get; internal set; }
/// <inheritdoc/>
public short LineHeight { get; internal set; }
/// <inheritdoc/>
public short AdvanceWidthMax { get; internal set; }
/// <inheritdoc/>
public short AdvanceHeightMax { get; internal set; }
}
}