Files
FlaxEngine/Source/Engine/Render2D/TextLayoutOptions.cs
2020-12-07 23:40:54 +01:00

18 lines
453 B
C#

// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
namespace FlaxEngine
{
partial struct TextLayoutOptions
{
/// <summary>
/// Gets the default layout.
/// </summary>
public static TextLayoutOptions Default => new TextLayoutOptions
{
Bounds = new Rectangle(0, 0, float.MaxValue, float.MaxValue),
Scale = 1.0f,
BaseLinesGapScale = 1.0f,
};
}
}