Did a wupsi with defaults

This commit is contained in:
Michel Fedde 2021-05-02 14:58:50 +02:00
parent 17e76a9dd4
commit a29a2cab53
2 changed files with 2 additions and 3 deletions

View file

@ -46,9 +46,9 @@ namespace SM.Base.Drawing.Text
/// <summary> /// <summary>
/// Allow to change the origin of the text. /// Allow to change the origin of the text.
/// <para>Default: <see cref="TextOrigin.Center"/></para> /// <para>Default: <see cref="TextOrigin.Left"/></para>
/// </summary> /// </summary>
public TextOrigin Origin = TextOrigin.Center; public TextOrigin Origin = TextOrigin.Left;
/// <summary> /// <summary>
/// The spacing between numbers. /// The spacing between numbers.

View file

@ -59,7 +59,6 @@ namespace SM_TEST
DrawText test = new DrawText(font, "Level Completed") DrawText test = new DrawText(font, "Level Completed")
{ {
Material = uvMaterial, Material = uvMaterial,
Origin = TextOrigin.Right
}; };
test.Transform.Position.Set(0, 2); test.Transform.Position.Set(0, 2);
test.Transform.Size.Set(.5f); test.Transform.Size.Set(.5f);