| |
|
| java.lang.Object org.geotools.brewer.color.ColorPalette org.geotools.brewer.color.BrewerPalette
BrewerPalette | public class BrewerPalette extends ColorPalette (Code) | | A ColorPalette with additional ColorBrewer information (suitability data and colour selection).
author: James Macgill author: Cory Horner, Refractions Research Inc. |
BrewerPalette | public BrewerPalette()(Code) | | Creates a new instance of BrewerPalette
|
getColor | public Color getColor(int index, int length)(Code) | | |
getColors | public Color[] getColors(int length)(Code) | | Obtains a set of colours from the palette.
|
getMaxColors | public int getMaxColors()(Code) | | Getter for the colour count
the most colours this palette currently supports |
getMinColors | public int getMinColors()(Code) | | Getter for the colour count
the minimum number of colours this palette currently supports |
getType | public PaletteType getType()(Code) | | Getter for property type.
Value of property type. |
setType | public void setType(PaletteType type)(Code) | | Sets the type of palette.
Parameters: type - new palette type |
|
|
|