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()
ColorMapColorMap.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)
ColorMappublic boolean getExtendedColors()
public void setExtendedColors(boolean extended)
ColorMapextended - true for using 65536 colors, false for using 256.public Function getFunction()
getFunction in interface ColorMappublic void accept(StyleVisitor visitor)
Copyright © 1996–2021 Geotools. All rights reserved.