Example #1
0
        public override void CloneDataFromRead(PngChunk other)
        {
            PngChunkOFFS pngChunkOFFS = (PngChunkOFFS)other;

            posX  = pngChunkOFFS.posX;
            posY  = pngChunkOFFS.posY;
            units = pngChunkOFFS.units;
        }
Example #2
0
        public override void CloneDataFromRead(PngChunk other)
        {
            PngChunkOFFS otherx = (PngChunkOFFS)other;

            this.posX  = otherx.posX;
            this.posY  = otherx.posY;
            this.units = otherx.units;
        }
Example #3
0
        private void CloneData(PngChunkOFFS other)
        {
            if (other is null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }

            posX  = other.posX;
            posY  = other.posY;
            units = other.units;
        }