Inheritance diagram for NPlot::StepGradient:
Public Types | |
enum | Type { Rainbow, RGB } |
Types of step gradient defined. More... | |
Public Member Functions | |
StepGradient () | |
Default Constructor. | |
StepGradient (Type stepType) | |
Constructor. | |
Color | GetColor (double prop) |
Gets a color corresponding to a number between 0.0 and 1.0 inclusive. | |
Properties | |
Type | StepType |
Sets the type of step gradient. | |
Type | stepType_ = Type.RGB |
Definition at line 60 of file StepGradient.cs.
|
Types of step gradient defined.
Definition at line 66 of file StepGradient.cs. |
|
Default Constructor.
Definition at line 99 of file StepGradient.cs. |
|
Constructor.
Definition at line 108 of file StepGradient.cs. References stepType_. |
|
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.
Implements NPlot::IGradient. Definition at line 119 of file StepGradient.cs. References stepType_. |
|
Sets the type of step gradient.
Definition at line 83 of file StepGradient.cs. |
|
Definition at line 93 of file StepGradient.cs. Referenced by GetColor(), and StepGradient(). |