protected override Drawing DoEdit(Drawing drawing, IEnumerable <Entity> entities, Vector delta) { foreach (var ent in entities) { drawing = drawing.Replace(ent, EditUtilities.Move(ent, delta)); } return(drawing); }
protected override Drawing DoEdit(Drawing drawing, IEnumerable <Entity> entities, Vector delta) { foreach (var ent in entities) { var layer = drawing.ContainingLayer(ent); drawing = drawing.Add(layer, EditUtilities.Move(ent, delta)); } return(drawing); }