mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-21 09:49:32 +00:00
31 lines
984 B
C#
31 lines
984 B
C#
using System.Collections.Generic;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace MonoGame.Extended.Content.Pipeline.BitmapFonts
|
|
{
|
|
// ---- AngelCode BmFont XML serializer ----------------------
|
|
// ---- By DeadlyDan @ deadlydan@gmail.com -------------------
|
|
// ---- There's no license restrictions, use as you will. ----
|
|
// ---- Credits to http://www.angelcode.com/ -----------------
|
|
[XmlRoot("font")]
|
|
public class BitmapFontFile
|
|
{
|
|
[XmlElement("info")]
|
|
public BitmapFontInfo Info { get; set; }
|
|
|
|
[XmlElement("common")]
|
|
public BitmapFontCommon Common { get; set; }
|
|
|
|
[XmlArray("pages")]
|
|
[XmlArrayItem("page")]
|
|
public List<BitmapFontPage> Pages { get; set; }
|
|
|
|
[XmlArray("chars")]
|
|
[XmlArrayItem("char")]
|
|
public List<BitmapFontChar> Chars { get; set; }
|
|
|
|
[XmlArray("kernings")]
|
|
[XmlArrayItem("kerning")]
|
|
public List<BitmapFontKerning> Kernings { get; set; }
|
|
}
|
|
} |