TYPE_INTERVALS, TYPE_RAMP, TYPE_VALUES
Constructor and Description |
---|
ColorMapImpl() |
ColorMapImpl(Function function) |
Modifier and Type | Method and Description |
---|---|
void |
accept(StyleVisitor visitor) |
Object |
accept(StyleVisitor visitor,
Object data)
calls the visit method of a StyleVisitor
|
void |
addColorMapEntry(ColorMapEntry entry) |
boolean |
equals(Object obj) |
ColorMapEntry[] |
getColorMapEntries() |
ColorMapEntry |
getColorMapEntry(int index) |
boolean |
getExtendedColors() |
Function |
getFunction() |
int |
getType()
Type of color map; matchinges the function returned by getFunction().getName()
|
int |
hashCode() |
void |
setExtendedColors(boolean extended)
Tells me to use 65536 colors even if 256 could suffice.
|
void |
setType(int type) |
public ColorMapImpl()
public ColorMapImpl(Function function)
public void addColorMapEntry(ColorMapEntry entry)
public ColorMapEntry[] getColorMapEntries()
public ColorMapEntry getColorMapEntry(int index)
public int getType()
ColorMap
ColorMap.getType()
public void setType(int type)
type
- One of TYPE_RAMP, TYPE_INTERVALS, or TYPE_VALUEColorMap.setType(int)
public Object accept(StyleVisitor visitor, Object data)
ColorMap
public boolean getExtendedColors()
public void setExtendedColors(boolean extended)
ColorMap
extended
- true
for using 65536 colors, false
for using 256.public Function getFunction()
getFunction
in interface ColorMap
public void accept(StyleVisitor visitor)
Copyright © 1996–2019 Geotools. All rights reserved.