Inheritance diagram for NPlot::LinearGradient:
Public Member Functions | |
LinearGradient (Color minColor, Color maxColor) | |
Constructor. | |
Color | GetColor (double prop) |
Gets a color corresponding to a number between 0.0 and 1.0 inclusive. | |
Properties | |
Color | MaxColor |
The color corresponding to 0.0. | |
Color | maxColor_ |
Color | MinColor |
The color corresponding to 1.0. | |
Color | minColor_ |
Definition at line 61 of file LinearGradient.cs.
|
Constructor.
Definition at line 69 of file LinearGradient.cs. |
|
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 116 of file LinearGradient.cs. References MinColor. |
|
The color corresponding to 0.0.
Definition at line 80 of file LinearGradient.cs. |
|
Definition at line 90 of file LinearGradient.cs. |
|
The color corresponding to 1.0.
Definition at line 97 of file LinearGradient.cs. Referenced by GetColor(). |
|
Definition at line 107 of file LinearGradient.cs. |