using RecrownedAthenaeum.Pipeline.TextureAtlas; namespace RecrownedAthenaeum.Pipeline.NinePatch { /// /// Represents a data structure for 9patches. /// public class NinePatchData { /// /// Name of texture associated with patch. May be null in the case of being apart of a /// public string textureName; /// /// the boundaries of the patch. /// public int left, right, bottom, top; /// /// Constructs patch. /// /// Name of the texture. May be null. /// Left bound. /// Right bound. /// Bottom bound. /// Top bound. public NinePatchData(string textureName, int left, int right, int bottom, int Top) { this.textureName = textureName; this.left = left; this.right = right; this.bottom = bottom; this.top = Top; } } }