Did a wupsi with defaults
This commit is contained in:
parent
17e76a9dd4
commit
a29a2cab53
2 changed files with 2 additions and 3 deletions
|
|
@ -46,9 +46,9 @@ namespace SM.Base.Drawing.Text
|
|||
|
||||
/// <summary>
|
||||
/// Allow to change the origin of the text.
|
||||
/// <para>Default: <see cref="TextOrigin.Center"/></para>
|
||||
/// <para>Default: <see cref="TextOrigin.Left"/></para>
|
||||
/// </summary>
|
||||
public TextOrigin Origin = TextOrigin.Center;
|
||||
public TextOrigin Origin = TextOrigin.Left;
|
||||
|
||||
/// <summary>
|
||||
/// The spacing between numbers.
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ namespace SM_TEST
|
|||
DrawText test = new DrawText(font, "Level Completed")
|
||||
{
|
||||
Material = uvMaterial,
|
||||
Origin = TextOrigin.Right
|
||||
};
|
||||
test.Transform.Position.Set(0, 2);
|
||||
test.Transform.Size.Set(.5f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue