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

31 lines
657 B
C#

// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.Fonts {
/// <summary>
/// Vertical alignment modes.
/// </summary>
public enum VerticalAlignment
{
/// <summary>
/// Aligns downward from the top.
/// </summary>
Top = 0,
/// <summary>
/// Aligns text up and down from the middle.
/// </summary>
Center = 1,
/// <summary>
/// Aligns text upwards from the bottom.
/// </summary>
Bottom = 2,
/// <summary>
/// Aligns text to the baseline.
/// </summary>
Baseline = 3
}
}