Method GetColorAtFraction
GetColorAtFraction(double)
Returns the color to use at the given part of the spectrum
public Color GetColorAtFraction(double fraction)
Parameters
fraction
doubleProportion of the way through the spectrum, must be between 0 and 1 (inclusive). Returns the last color if
fraction
is NaN.