public IVertexCollection Clone() { var t = new VertexCollection(); foreach (var v in _list) { t._list.Add(v.Clone()); } return(t); }
protected ShapeBase() { _vertices = new VertexCollection(); DrawMethod = DrawMethod.ByDragDrop; CanResize = true; CanMove = true; Location = new PointF(); Size = new SizeF(); OutlineColor = Color.Black; OutlineWidth = 1F; FillColor = Color.Transparent; }
protected ShapeBase() { _vertices = new VertexCollection(); DrawMethod = DrawMethod.ByDragDrop; CanResize = true; CanMove = true; Location = new PointF(); Size = new SizeF(); OutlineColor = Color.Black; OutlineWidth = 1F; FillColor = Color.Transparent; }
public IVertexCollection Clone() { var t = new VertexCollection(); foreach (var v in _list) t._list.Add(v.Clone()); return t; }