| 构造器 | 说明 |
|---|---|
LinearColormap() |
Construct a color map with a grayscale ramp from black to white.
|
LinearColormap(int color1,
int color2) |
Construct a linear color map.
|
public LinearColormap()
public LinearColormap(int color1,
int color2)
color1 - the color corresponding to value 0 in the colormapcolor2 - the color corresponding to value 1 in the colormappublic void setColor1(int color1)
color1 - the color corresponding to value 0 in the colormappublic int getColor1()
public void setColor2(int color2)
color2 - the color corresponding to value 1 in the colormappublic int getColor2()
Copyright © 2019. All rights reserved.