예제 #1
0
 public ColourFunction Clone()
 {
     CFGrid clone = new CFGrid();
     clone._Colour1 = new Colour(_Colour1);
     clone._Colour2 = new Colour(_Colour2);
     clone._Scale = _Scale;
     clone._Ratio = _Ratio;
     clone._IsCheckerboard = _IsCheckerboard;
     return clone;
 }
예제 #2
0
        public ColourFunction Clone()
        {
            CFGrid clone = new CFGrid();

            clone._Colour1        = new Colour(_Colour1);
            clone._Colour2        = new Colour(_Colour2);
            clone._Scale          = _Scale;
            clone._Ratio          = _Ratio;
            clone._IsCheckerboard = _IsCheckerboard;
            return(clone);
        }