public class ColorPalette extends Object
Constructor and Description |
---|
ColorPalette() |
Modifier and Type | Method and Description |
---|---|
Color[] |
getColors()
Returns all colours
|
Color[] |
getColors(int length) |
int |
getCount()
Returns the number of colours contained in the palette.
|
String |
getDescription()
Getter for property description.
|
String |
getName()
Getter for property name.
|
void |
setColors(Color[] colors) |
void |
setDescription(String description)
Setter for property description.
|
void |
setName(String name)
Setter for property name.
|
public int getCount()
public String getName()
public void setName(String name)
name
- New value of property name.public String getDescription()
public void setDescription(String description)
description
- New value of property description.public void setColors(Color[] colors)
public Color[] getColors(int length)
public Color[] getColors()
Copyright © 1996–2023 Geotools. All rights reserved.