示例#1
0
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            SpirographData result = new SpirographData
            {
                Colors          = Colors.ToList(),
                Speed           = Speed,
                Type            = Type,
                OCR             = OCR,
                ICR             = ICR,
                Range           = Range,
                SpirographRange = SpirographRange,
                Distance        = Distance,
                ColorChase      = ColorChase,
                Orientation     = Orientation,
                Animate         = Animate,
                LevelCurve      = new Curve(LevelCurve)
            };

            return(result);
        }
示例#2
0
 public Spirograph()
 {
     _data = new SpirographData();
 }
示例#3
0
 public Spirograph()
 {
     _data = new SpirographData();
 }
示例#4
0
 protected override EffectTypeModuleData CreateInstanceForClone()
 {
     SpirographData result = new SpirographData
     {
         Colors = Colors.ToList(),
         Speed = Speed,
         Type = Type,
         OCR = OCR,
         ICR = ICR,
         Range = Range,
         SpirographRange = SpirographRange,
         Distance = Distance,
         ColorChase = ColorChase,
         Orientation = Orientation,
         Animate = Animate,
         LevelCurve = new Curve(LevelCurve)
     };
     return result;
 }