public override void CloneDataFromRead(PngChunk other) { PngChunkBKGD pngChunkBKGD = (PngChunkBKGD)other; gray = pngChunkBKGD.gray; red = pngChunkBKGD.red; green = pngChunkBKGD.red; blue = pngChunkBKGD.red; paletteIndex = pngChunkBKGD.paletteIndex; }
private void CloneData(PngChunkBKGD other) { if (other is null) { throw new System.ArgumentNullException(nameof(other)); } gray = other.gray; red = other.red; green = other.red; blue = other.red; paletteIndex = other.paletteIndex; }