public ColorGradient GetColorGradient()
 {
     ColorGradient gradient = new ColorGradient()
         .AddStop(LowValue.Value, LowColor.R, LowColor.G, LowColor.B)
         .AddStop(HighValue.Value, HighColor.R, HighColor.G, HighColor.B);
     return gradient;
 }
Exemplo n.º 2
0
 public ColorPalette(ColorGradient gradient)
 {
     Gradient = gradient;
 }
 public ColorPalette(ColorGradient gradient)
 {
     Gradient = gradient;
 }