Package org.openjump.core.rasterimage
Class RasterSymbology
- java.lang.Object
-
- org.openjump.core.rasterimage.RasterSymbology
-
public class RasterSymbology extends Object
- Author:
- AdL
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_INTERVALS
static String
TYPE_RAMP
static String
TYPE_SINGLE
-
Constructor Summary
Constructors Constructor Description RasterSymbology()
RasterSymbology(String colorMapType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColorMapEntry(double upperValue, Color color)
Color
getColor(double value)
ColorMapEntry[]
getColorMapEntries()
TreeMap<Double,Color>
getColorMapEntries_tm()
String
getColorMapType()
double
getTransparency()
void
setColorMapEntries_tm(TreeMap<Double,Color> colorMapEntries_tm)
void
setColorMapType(String colorMapType)
void
setTransparency(double transparency)
-
-
-
Field Detail
-
TYPE_RAMP
public static final String TYPE_RAMP
- See Also:
- Constant Field Values
-
TYPE_INTERVALS
public static final String TYPE_INTERVALS
- See Also:
- Constant Field Values
-
TYPE_SINGLE
public static final String TYPE_SINGLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RasterSymbology
public RasterSymbology()
-
RasterSymbology
public RasterSymbology(String colorMapType)
-
-
Method Detail
-
addColorMapEntry
public void addColorMapEntry(double upperValue, Color color)
-
getColorMapType
public String getColorMapType()
-
setColorMapType
public void setColorMapType(String colorMapType)
-
getColorMapEntries
public ColorMapEntry[] getColorMapEntries()
-
getTransparency
public double getTransparency()
-
setTransparency
public void setTransparency(double transparency)
-
getColor
public Color getColor(double value)
-
-