Slightly improved text renderer

This commit is contained in:
Simon Lübeß
2024-04-14 23:56:09 +02:00
parent 4d0617aff7
commit f30bcb2f89
10 changed files with 217 additions and 297 deletions
@@ -0,0 +1,20 @@
namespace GlitchyEngine.Graphics.Text;
/// <summary>
/// The horizontal alignment of text.
/// </summary>
public enum HorizontalTextAlignment : byte
{
/// <summary>
/// Aligns the text to the left.
/// </summary>
Left,
/// <summary>
/// Aligns the text to the right.
/// </summary>
Right,
/// <summary>
/// Aligns the text in the center.
/// </summary>
Center
}