private ShapeGroup GetGroup(int spaces) { ShapeGroup newgroup = new ShapeGroup(); List <ShapeComponent> loadedgroupshapes = ReadedLinesToShapes(spaces); foreach (ShapeComponent groupitem in loadedgroupshapes) { newgroup.Add(groupitem); } return(newgroup); }
public AddGroupCommand() { IsCompleted = false; oldShapeComponents = new List <ShapeComponent>(); group = new ShapeGroup(); }