Ejemplo n.º 1
0
		private ShapeViewModel CopyShapeViewModel()
		{
			Geometry clonedGeom = this.SelectedShapeModel.Geometry.Clone();
			ShapeViewModel model = new ShapeViewModel()
			{
				Geometry = clonedGeom,
				ShapeName = this.SelectedShapeModel.ShapeName,
			};
			return model;
		}
Ejemplo n.º 2
0
        private ShapeViewModel CopyShapeViewModel()
        {
            Geometry       clonedGeom = this.SelectedShapeModel.Geometry.Clone();
            ShapeViewModel model      = new ShapeViewModel()
            {
                Geometry  = clonedGeom,
                ShapeName = this.SelectedShapeModel.ShapeName,
            };

            return(model);
        }