public override FractalColorMode GetClone()
        {
            CycleGradientColorMode clone = new CycleGradientColorMode(this._percents, this._color, this._gradient_void,
                                                                      this._gradient_iterations_count, this._gradient_void_iterations_count, this._using_mod);

            clone._using_color_modes = this._using_color_modes;
            return(clone);
        }
        private void list_up(FractalColorMode fcm_c)
        {
            comboBox1.Items.Add(fcm_c);
            FractalColorMode fcm = new My2DClassicColorMode();

            if (fcm.IsCompatible(_fap) && !(fcm.GetType().Equals(fcm_c.GetType())))
            {
                comboBox1.Items.Add(fcm);
            }
            fcm = new Simple2DFractalColorMode();
            if (fcm.IsCompatible(_fap) && !(fcm.GetType().Equals(fcm_c.GetType())))
            {
                comboBox1.Items.Add(fcm);
            }
            fcm = new SimpleInverse2DFractalColorMode();
            if (fcm.IsCompatible(_fap) && !(fcm.GetType().Equals(fcm_c.GetType())))
            {
                comboBox1.Items.Add(fcm);
            }
            fcm = new SimpleClouds2DFractalColorMode(100);
            if (fcm.IsCompatible(_fap) && !(fcm.GetType().Equals(fcm_c.GetType())))
            {
                comboBox1.Items.Add(fcm);
            }
            fcm = new CosColorMode();
            if (fcm.IsCompatible(_fap) && !(fcm.GetType().Equals(fcm_c.GetType())))
            {
                comboBox1.Items.Add(fcm);
            }
            fcm = new CycleGradientColorMode(1000, 0);
            if (fcm.IsCompatible(_fap) && !(fcm.GetType().Equals(fcm_c.GetType())))
            {
                comboBox1.Items.Add(fcm);
            }
            fcm = new TrioArgsCosColorMode();
            if (fcm.IsCompatible(_fap) && !(fcm.GetType().Equals(fcm_c.GetType())))
            {
                comboBox1.Items.Add(fcm);
            }
            fcm = new FunctionFractalColorMode();
            if (fcm.IsCompatible(_fap) && !(fcm.GetType().Equals(fcm_c.GetType())))
            {
                comboBox1.Items.Add(fcm);
            }
            foreach (object o in comboBox1.Items)
            {
                ((FractalColorMode)o).FractalColorModeChanged += (sender, c) => { Visualizate(); };
            }
        }
 public VoidColorMode(CycleGradientColorMode mode)
 {
     _mode = mode;
 }
 public VoidColorMode(CycleGradientColorMode mode)
 {
     _mode = mode;
 }
 public override FractalColorMode GetClone()
 {
     CycleGradientColorMode clone = new CycleGradientColorMode(this._percents, this._color, this._gradient_void,
                                                             this._gradient_iterations_count, this._gradient_void_iterations_count, this._using_mod);
     clone._using_color_modes=this._using_color_modes;
     return clone;
 }