public class ColorGradientArray extends Object implements ColorGradient
Constructor and Description |
---|
ColorGradientArray(float[] f) |
Modifier and Type | Method and Description |
---|---|
void |
toColor(float fraction,
float[] rgba)
Compute the color for a fraction on [0,1].
|
public void toColor(float fraction, float[] rgba)
ColorGradient
toColor
in interface ColorGradient
toColor
in interface ColorMap
Copyright © 2016 Metron, Inc.. All rights reserved.