| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 | using System;namespace PaintDotNet{    public sealed class SnapDescription    {        private SnapObstacle snappedTo;        private HorizontalSnapEdge horizontalEdge;        private VerticalSnapEdge verticalEdge;        private int xOffset;        private int yOffset;        public SnapObstacle SnappedTo        {            get            {                return this.snappedTo;            }        }        public HorizontalSnapEdge HorizontalEdge        {            get            {                return this.horizontalEdge;            }            set            {                this.horizontalEdge = value;            }        }        public VerticalSnapEdge VerticalEdge        {            get            {                return this.verticalEdge;            }            set            {                this.verticalEdge = value;            }        }        public int XOffset        {            get            {                return this.xOffset;            }            set            {                this.xOffset = value;            }        }        public int YOffset        {            get            {                return this.yOffset;            }            set            {                this.yOffset = value;            }        }        public SnapDescription(            SnapObstacle snappedTo,            HorizontalSnapEdge horizontalEdge,            VerticalSnapEdge verticalEdge,            int xOffset,            int yOffset)        {            if (snappedTo == null)            {                throw new ArgumentNullException("snappedTo");            }            this.snappedTo = snappedTo;            this.horizontalEdge = horizontalEdge;            this.verticalEdge = verticalEdge;            this.xOffset = xOffset;            this.yOffset = yOffset;        }    }}
 |