public override void CloneDataFromRead(PngChunk other) { PngChunkIHDR pngChunkIHDR = (PngChunkIHDR)other; Cols = pngChunkIHDR.Cols; Rows = pngChunkIHDR.Rows; Bitspc = pngChunkIHDR.Bitspc; Colormodel = pngChunkIHDR.Colormodel; Compmeth = pngChunkIHDR.Compmeth; Filmeth = pngChunkIHDR.Filmeth; Interlaced = pngChunkIHDR.Interlaced; }
public override void CloneDataFromRead(PngChunk other) { PngChunkIHDR otherx = (PngChunkIHDR)other; Cols = otherx.Cols; Rows = otherx.Rows; Bitspc = otherx.Bitspc; Colormodel = otherx.Colormodel; Compmeth = otherx.Compmeth; Filmeth = otherx.Filmeth; Interlaced = otherx.Interlaced; }
private void CloneData(PngChunkIHDR other) { if (other is null) { throw new System.ArgumentNullException(nameof(other)); } Cols = other.Cols; Rows = other.Rows; Bitspc = other.Bitspc; Colormodel = other.Colormodel; Compmeth = other.Compmeth; Filmeth = other.Filmeth; Interlaced = other.Interlaced; }