public class ColorMap
extends java.lang.Object
FastUniformHeatmapRenderableSeries
Modifier and Type | Field and Description |
---|---|
int[] |
colors
The color map colors
|
float[] |
stops
The color map stop points
|
Constructor and Description |
---|
ColorMap(int[] colors,
float[] stops)
Creates a new instance of
ColorMap class |
ColorMap(int startColor,
int endColor)
Creates a new instance of
ColorMap class |
Modifier and Type | Method and Description |
---|---|
static android.graphics.Bitmap |
createColorMapBitmap(ColorMap colorMap,
int width,
int height)
Deprecated.
|
void |
lerpColorsForValues(com.scichart.core.model.IntegerValues colors,
com.scichart.core.model.DoubleValues values,
double min,
double max)
Performs linear interpolation for specified colors based mapping from this
ColorMap and specified min and max values |
public final int[] colors
public final float[] stops
public ColorMap(int[] colors, float[] stops)
ColorMap
classcolors
- The colors used by this color mapstops
- The stops used by this color mappublic ColorMap(int startColor, int endColor)
ColorMap
classstartColor
- The start colorendColor
- The end color@Deprecated public static android.graphics.Bitmap createColorMapBitmap(ColorMap colorMap, int width, int height)
Bitmap
from ColorMap
instancecolorMap
- The color mapwidth
- The width of bitmapheight
- The height of bitmapBitmap
instancepublic void lerpColorsForValues(com.scichart.core.model.IntegerValues colors, com.scichart.core.model.DoubleValues values, double min, double max)
ColorMap
and specified min
and max
valuescolors
- The colors to setvalues
- The values to interpolatemin
- The min value used during interpolationmax
- The max value used during interpolation