Пример #1
0
		protected BaseLine(BaseLine other)
		{
			this.P1 = other.P1;
			this.P2 = other.P2;
			this.Dir = new Point(other.Dir);
			var border = new List<Point>();
			border.AddRange(other.Border);
			Border = new ReadOnlyCollection<Point>(border);
		}
Пример #2
0
        protected BaseLine(BaseLine other)
        {
            this.P1  = other.P1;
            this.P2  = other.P2;
            this.Dir = new Point(other.Dir);
            var border = new List <Point>();

            border.AddRange(other.Border);
            Border = new ReadOnlyCollection <Point>(border);
        }