C# 클래스 NPlot.StepGradient

Class for creating a rainbow legend.
상속: IGradient
파일 보기 프로젝트 열기: mono/nplot-gtk

공개 메소드들

메소드 설명
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