Пример #1
0
 public ComplexCorrection(int range = 100)
 {
     Red = new ComplexColorValue(range);
     Green = new ComplexColorValue(range);
     Blue = new ComplexColorValue(range);
     Master = new ComplexColorValue(range);
     Contrast = new ContrastValue();
     Saturation = new SaturationValue();
     Rotation = new RotationValue();
 }
Пример #2
0
 public Correction(ICorrection ic)
 {
     _blue = new ColorValue(ic.Blue);
     _green = new ColorValue(ic.Green);
     _red = new ColorValue(ic.Red);
     _black = new LevelsValue(ic.Black);
     _shadow = new LevelsValue(ic.Shadow);
     _highlight = new LevelsValue(ic.Highlight);
     _white = new LevelsValue(ic.White);
     _midpoint = new MidtoneValue(ic.Midpoint);
     _contrast = new ContrastValue(ic.Contrast);
     _saturation = new SaturationValue(ic.Saturation);
     _rotate = new RotationValue(ic.Rotate);
 }
Пример #3
0
 public Correction()
 {
     _blue = new ColorValue();
     _green = new ColorValue();
     _red = new ColorValue();
     _black = new LevelsValue();
     _shadow = new LevelsValue();
     _highlight = new LevelsValue(1);
     _white = new LevelsValue(1);
     _midpoint = new MidtoneValue();
     _contrast = new ContrastValue();
     _saturation = new SaturationValue();
     _rotate = new RotationValue();
 }