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

28 lines
822 B
C#

// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.Fonts {
/// <summary>
/// Text justification modes.
/// </summary>
public enum TextJustification
{
/// <summary>
/// No justification
/// </summary>
None = 0,
/// <summary>
/// The text is justified by adding space between words (effectively varying word-spacing),
/// which is most appropriate for languages that separate words using spaces, like English or Korean.
/// </summary>
InterWord,
/// <summary>
/// The text is justified by adding space between characters (effectively varying letter-spacing),
/// which is most appropriate for languages like Japanese.
/// </summary>
InterCharacter
}
}