|
ColorRange Constructor
|
create new color range for legends of numerical values
Namespace:
Karamba.Utilities
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic ColorRange(
double min_val,
double max_val,
bool zero_centered,
List<Color> base_colors
)
Public Sub New (
min_val As Double,
max_val As Double,
zero_centered As Boolean,
base_colors As List(Of Color)
)
public:
ColorRange(
double min_val,
double max_val,
bool zero_centered,
List<Color>^ base_colors
)
new :
min_val : float *
max_val : float *
zero_centered : bool *
base_colors : List<Color> -> ColorRange
Parameters
- min_val
- Type: SystemDouble
minimum value of number range - max_val
- Type: SystemDouble
maximum value of number range - zero_centered
- Type: SystemBoolean
if true and zero is in the number range than the colors get centered around zero - base_colors
- Type: System.Collections.GenericListColor
List of colors from which additional colors are interpolated
See Also