Esempio n. 1
0
        public virtual object Clone()
        {
            var obj = (DrawObj)MemberwiseClone();

            obj._basePath    = BasePath.Clone() as GraphicsPath;
            obj._dataBk      = _dataBk.Clone() as CalcData;
            obj._paraManager = _paraManager.Clone() as ExpressionMananger;
            return(obj);
        }
Esempio n. 2
0
 public Data Clone()
 {
     return(new Data
     {
         BasePath = BasePath.Clone(),
         ContinuationPath = ContinuationPath.Clone(),
         ContinuationCombineMode = ContinuationCombineMode,
         CumulativeTransform = CumulativeTransform.Clone(),
         InterimTransform = InterimTransform.Clone()
     });
 }