Beispiel #1
0
        public override void CloneDataFromRead(PngChunk other)
        {
            PngChunkSBIT otherx = (PngChunkSBIT)other;

            Graysb  = otherx.Graysb;
            Redsb   = otherx.Redsb;
            Greensb = otherx.Greensb;
            Bluesb  = otherx.Bluesb;
            Alphasb = otherx.Alphasb;
        }
Beispiel #2
0
        private void CloneData(PngChunkSBIT other)
        {
            if (other is null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }

            Graysb  = other.Graysb;
            Redsb   = other.Redsb;
            Greensb = other.Greensb;
            Bluesb  = other.Bluesb;
            Alphasb = other.Alphasb;
        }