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); }
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); }