public CycleGradientColorMode(int[] Percents, Color[] Colors, Color ColorOfVoid, ulong GradientIterationsCount, ulong GradientVoidIterationsCount) { _percents = Percents; _color = Colors; _gradient_void = ColorOfVoid; _gradient_iterations_count = GradientIterationsCount; _gradient_void_iterations_count = GradientVoidIterationsCount; _using_mod = new VoidColorMode(this); _using_color_modes = WeAreColorReturnable.GetWith(_using_mod); }
/*______________________________________________________________Конструкторы_класса___________________________________________________________________*/ #region Constructors public CycleGradientColorMode() { _percents = new int[] { 0, 180, 360 }; _color = new Color[] { Color.Black, Color.White, Color.Black }; _gradient_void = Color.Silver; _gradient_iterations_count = 70; _gradient_void_iterations_count = 20; _using_mod = new VoidColorMode(this); _using_color_modes = WeAreColorReturnable.GetWith(_using_mod); }