2021-06-25 15:23:30 +02:00
|
|
|
namespace MLEM.Formatting {
|
|
|
|
/// <summary>
|
|
|
|
/// An enumeration that represents a set of alignment options for <see cref="TokenizedString"/> objects and MLEM.Ui paragraphs.
|
|
|
|
/// </summary>
|
|
|
|
public enum TextAlignment {
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Left alignment, which is also the default value
|
|
|
|
/// </summary>
|
|
|
|
Left,
|
|
|
|
/// <summary>
|
|
|
|
/// Center alignment
|
|
|
|
/// </summary>
|
|
|
|
Center,
|
|
|
|
/// <summary>
|
|
|
|
/// Right alignment.
|
|
|
|
/// In this alignment option, trailing spaces are ignored to ensure that visual alignment is consistent.
|
|
|
|
/// </summary>
|
|
|
|
Right
|
|
|
|
|
|
|
|
}
|
2022-06-17 18:23:47 +02:00
|
|
|
}
|