namespace GenericImage { using System; public interface IPixelAccessor : IDisposable { TColor this[int x, int y] { get; set; } /// /// Gets the width. /// int Width { get; } /// /// Gets the height. /// int Height { get; } } }