public Shape(IShape shape) { Points = shape; Name = shape.Name; Angle = shape.Angle; Bounds = shape.Bounds; ID = shape.ID; if (ID == null) { shape.AssignIDIfNone(); } }