ClassiCube/ClassicalSharp/2D/Drawing/DrawTextArgs.cs
2016-03-26 13:51:42 +11:00

22 lines
538 B
C#

// ClassicalSharp copyright 2014-2016 UnknownShadow200 | Licensed under MIT
using System;
using System.Drawing;
namespace ClassicalSharp {
/// <summary> Contains arguments for measuring or drawing text. </summary>
public struct DrawTextArgs {
public string Text;
public Font Font;
public bool UseShadow;
public bool SkipPartsCheck;
public DrawTextArgs( string text, Font font, bool useShadow ) {
Text = text;
Font = font;
UseShadow = useShadow;
SkipPartsCheck = false;
}
}
}