C# Класс NPlot.StepGradient

Class for creating a rainbow legend.
Наследование: IGradient
Показать файл Открыть проект

Открытые методы

Метод Описание
GetColor ( double prop ) : Color

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.

StepGradient ( ) : System

Default Constructor

StepGradient ( Type stepType ) : System

Constructor

Описание методов

GetColor() публичный Метод

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 GetColor ( double prop ) : Color
prop double the number to get corresponding color for (between 0.0 and 1.0)
Результат Color

StepGradient() публичный Метод

Default Constructor
public StepGradient ( ) : System
Результат System

StepGradient() публичный Метод

Constructor
public StepGradient ( Type stepType ) : System
stepType System.Type type of gradient
Результат System