Exemplo n.º 1
0
 private GradientNode(string name, Expression min, Expression max, OnConflict onConflict, StopNode[] stops)
 {
     Name = name;
     Min = min;
     Max = max;
     OnConflict = onConflict;
     Stops = stops;
 }
Exemplo n.º 2
0
 public EvaluatedStopNode(StopNode stop, Dictionary<Variable, double> variables)
 {
     _stop = stop;
     Value = stop.Value.Evaluate(variables) * stop.Factor;
 }