NPlot Documented Class Library

StepGradient.GetColor Method 

[This is preliminary documentation and subject to change.]

Gets a color corresponding to a number between 0.0 and 1.0 inclusive. The color will be a linear interpolation of the min and max colors.

public Color GetColor(
   double prop
);

Parameters

prop
the number to get corresponding color for (between 0.0 and 1.0)

Return Value

The color corresponding to the supplied number.

Implements

IGradient.GetColor

See Also

StepGradient Class | NPlot Namespace