C# Класс NPlot.LinearGradient

Class for creating a linear gradient.
Наследование: 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.

LinearGradient ( Color minColor, Color maxColor ) : 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

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

Constructor.
public LinearGradient ( Color minColor, Color maxColor ) : System
minColor Color The color corresponding to 0.0
maxColor Color The color corresponding to 1.0
Результат System