internal void Draw(ILocatedPixel pixel) { if (pixel.Column < this.width) { if (pixel.Row < this.height) { this.currentBoard[pixel.Row, pixel.Column] = (IPixel)pixel; } else { throw new ArgumentOutOfRangeException("pixel", "pixel row was not within the defined display height"); } } else { throw new ArgumentOutOfRangeException("pixel", "pixel column was not within the defined display width"); } }
public void Draw(ILocatedPixel pixel) { this.dh.Draw(pixel); }