Package cn.mapway.geo.shared.color
Class ColorTable
java.lang.Object
cn.mapway.geo.shared.color.ColorTable
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable,Serializable
public class ColorTable
extends Object
implements Serializable, com.google.gwt.user.client.rpc.IsSerializable
颜色表操作
1. 单波段伪彩色
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ColorTable
public ColorTable()缺省构造一个 单波段为彩色 单一值的颜色表
-
-
Method Details
-
clear
public void clear() -
mapColor
public int mapColor(double value) 将 double 映射到某个颜色- Parameters:
value-- Returns: