public interface Palette
Modifier and Type | Method and Description |
---|---|
Color[] |
getColors()
Return the palette as an array of colors
|
Color[] |
getColors(int nColors)
Return the palette as an array of colors of the
requested length.
|
Object |
getIdentifier()
Return the internal identifier of this palette.
|
String |
getName()
Return the name of this palette.
|
PaletteType |
getType()
This is the type of the palette, using the Cynthia Brewer's classification.
|
boolean |
isColorBlindSafe()
Return true if the palette is color blind safe.
|
int |
size()
Return the number of colors natively in the palette.
|
String |
toString()
Return the string representation of this palette (usually the name)
|
String getName()
Object getIdentifier()
PaletteType getType()
int size()
Color[] getColors()
Color[] getColors(int nColors)
boolean isColorBlindSafe()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.