protected abstract Node EditHsl(HslColor color, Number number);
예제 #2
0
 protected override Node EvalHsl(HslColor color)
 {
   return color.GetSaturation();
 }
 protected abstract Node EvalHsl(HslColor color);
예제 #4
0
 protected override Node EvalHsl(HslColor color)
 {
   return color.GetLightness();
 }
예제 #5
0
 protected override Node EditHsl(HslColor color, Number number)
 {
   color.Saturation += number.Value / 100;
   return color.ToRgbColor();
 }
예제 #6
0
 protected override Node EditHsl(HslColor color, Number number)
 {
   color.Lightness += number.Value / 100;
   return color.ToRgbColor();
 }
예제 #7
0
 protected override Node EvalHsl(HslColor color)
 {
   return color.GetHueInDegrees();
 }
예제 #8
0
 protected override Node EditHsl(HslColor color, Number number)
 {
   color.Hue += number.Value / 360d;
   return color.ToRgbColor();
 }
예제 #9
0
 protected override Node EditHsl(HslColor color, Number number)
 {
     return null;
 }
예제 #10
0
 protected override Node EvalHsl(HslColor color)
 {
     color.Hue += 0.5;
     return color.ToRgbColor();
 }