Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Bitmap"></param>
 /// <param name="Color"></param>
 /// <param name="Action"></param>
 /// <param name="Reverse"></param>
 public override void UpdateSlider(WriteableBitmap Bitmap, Color Color, Func <Color, double, Rgba> Action = null, bool Reverse = false)
 {
     base.UpdateSlider(Bitmap, Color, new Func <Color, double, Rgba>((c, CurrentRow) =>
     {
         return(new Xyz(Color, Observer, Illuminant).New(Xyz.Component.Z, CurrentRow.Shift(-2)).ToRgba());
     }));
 }