Download BitmapFontParser.zip, last updated 02/01/2012 (500.33 KB)

Download
  • md5: 9897dbfb0eb6346f09d88a50f9687e2e
using System.IO;

namespace Cyotek.Drawing.BitmapFont
{
  public struct Page
  {
    #region  Public Constructors

    public Page(int id, string fileName)
      : this()
    {
      this.FileName = fileName;
      this.Id = id;
    }

    #endregion  Public Constructors

    #region  Public Methods

    public override string ToString()
    {
      return string.Format("{0} ({1})", this.Id, Path.GetFileName(this.FileName));
    }

    #endregion  Public Methods

    #region  Public Properties

    public string FileName { get; set; }

    public int Id { get; set; }

    #endregion  Public Properties
  }
}

Donate

Donate