public void Invalidate() { for (int y = 0; y < Height; y++) { for (int x = 0; x < Width; x++) { var pixel = pixels[x][y]; pixel.Invalidate(); } } }