mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-26 00:45:20 +00:00
18 lines
393 B
C#
18 lines
393 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace MonoGame.Extended.Content.Pipeline.TextureAtlases
|
|
{
|
|
public class TexturePackerSize
|
|
{
|
|
[JsonProperty("w")]
|
|
public int Width { get; set; }
|
|
|
|
[JsonProperty("h")]
|
|
public int Height { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Format("{0} {1}", Width, Height);
|
|
}
|
|
}
|
|
} |