类 LinearColormap
- java.lang.Object
-
- org.meteoinfo.image.filter.LinearColormap
-
-
构造器概要
构造器 构造器 说明 LinearColormap()Construct a color map with a grayscale ramp from black to white.LinearColormap(int color1, int color2)Construct a linear color map.
-
-
-
构造器详细资料
-
LinearColormap
public LinearColormap()
Construct a color map with a grayscale ramp from black to white.
-
LinearColormap
public LinearColormap(int color1, int color2)Construct a linear color map.- 参数:
color1- the color corresponding to value 0 in the colormapcolor2- the color corresponding to value 1 in the colormap
-
-
方法详细资料
-
setColor1
public void setColor1(int color1)
Set the first color.- 参数:
color1- the color corresponding to value 0 in the colormap
-
getColor1
public int getColor1()
Get the first color.- 返回:
- the color corresponding to value 0 in the colormap
-
setColor2
public void setColor2(int color2)
Set the second color.- 参数:
color2- the color corresponding to value 1 in the colormap
-
getColor2
public int getColor2()
Get the second color.- 返回:
- the color corresponding to value 1 in the colormap
-
-