public override void CloneDataFromRead(PngChunk other)
        {
            PngChunkCHRM otherx = (PngChunkCHRM)other;

            whitex = otherx.whitex;
            whitey = otherx.whitex;
            redx   = otherx.redx;
            redy   = otherx.redy;
            greenx = otherx.greenx;
            greeny = otherx.greeny;
            bluex  = otherx.bluex;
            bluey  = otherx.bluey;
        }
Exemplo n.º 2
0
        private void CloneData(PngChunkCHRM other)
        {
            if (other is null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }

            whitex = other.whitex;
            whitey = other.whitex;
            redx   = other.redx;
            redy   = other.redy;
            greenx = other.greenx;
            greeny = other.greeny;
            bluex  = other.bluex;
            bluey  = other.bluey;
        }