Class IndicatorColorScheme.ColorIntervalResponse
java.lang.Object
velox.api.layer1.messages.indicators.IndicatorColorScheme.ColorIntervalResponse
- Enclosing interface:
IndicatorColorScheme
Describes all color changes in given interval
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionColorIntervalResponse(String[] colors, double[] dots) 0th color is used for all values <= 0th dot
1th color is used for all values > 0th dot and <= 1th dot
...
last color is used for all values > last dot
size of dots list = size of colors list - 1 -
Method Summary
-
Field Details
-
colors
-
dots
public final double[] dots
-
-
Constructor Details
-
ColorIntervalResponse
0th color is used for all values <= 0th dot
1th color is used for all values > 0th dot and <= 1th dot
...
last color is used for all values > last dot
size of dots list = size of colors list - 1- Parameters:
colors-dots-
-