35 lines
637 B
C#
35 lines
637 B
C#
![]() |
//public domain assumed from cyotek.com
|
|||
|
|
|||
|
using System.Drawing;
|
|||
|
|
|||
|
namespace Cyotek.Drawing.BitmapFont
|
|||
|
{
|
|||
|
public struct Character
|
|||
|
{
|
|||
|
#region Public Methods
|
|||
|
|
|||
|
public override string ToString()
|
|||
|
{
|
|||
|
return this.Char.ToString();
|
|||
|
}
|
|||
|
|
|||
|
#endregion Public Methods
|
|||
|
|
|||
|
#region Public Properties
|
|||
|
|
|||
|
public int Channel { get; set; }
|
|||
|
|
|||
|
public Rectangle Bounds { get; set; }
|
|||
|
|
|||
|
public Point Offset { get; set; }
|
|||
|
|
|||
|
public char Char { get; set; }
|
|||
|
|
|||
|
public int TexturePage { get; set; }
|
|||
|
|
|||
|
public int XAdvance { get; set; }
|
|||
|
|
|||
|
#endregion Public Properties
|
|||
|
}
|
|||
|
}
|