1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-22 19:18:47 +00:00

Add proprietary FontStyle enum

Removes dependency on Windows-only API from System.Drawing
This commit is contained in:
Oliver Booth 2022-11-27 17:17:32 +00:00
parent f1abc4374a
commit 1bf050eca0
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

22
VpSharp/src/FontStyle.cs Normal file
View File

@ -0,0 +1,22 @@
namespace VpSharp;
/// <summary>
/// An enumeration of font styles.
/// </summary>
public enum FontStyle
{
/// <summary>
/// Regular font.
/// </summary>
Regular = 0,
/// <summary>
/// Bold font.
/// </summary>
Bold = 1,
/// <summary>
/// Italic font.
/// </summary>
Italic = 2
}