/// <summary>
 /// Creates an instance and returns it for deep copy
 /// </summary>
 /// <returns>Created instance for deep copy</returns>
 public override ShapeElement Copy()
 {
     return(CloneUtil <ShapeElement> .DeepClone <ShapeElement>(this));
 }
Beispiel #2
0
        /// <summary>
        /// Creates an instance and returns it for deep copy
        /// </summary>
        /// <returns>Created instance for deep copy</returns>
        public override ShapeElement Copy()
        {
            return(CloneUtil <ShapeElement> .DeepClone <ShapeElement>(this));

            //return this.CreateInstanceForCopy() as ShapeElement;
        }