Files
FlaxEngine/Source/Engine/Render2D/TextLayoutOptions.cs
2022-01-14 13:31:12 +01:00

18 lines
453 B
C#

// Copyright (c) 2012-2022 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,
};
}
}