public final class ColorSchemes extends Object
Modifier and Type | Method and Description |
---|---|
static ColorScheme |
getContinuousColorScheme(String name,
int colors)
Create and return a continuous color scheme with the specified name and number of colors, if any.
|
static ColorScheme |
getDiscreteColorScheme(String name,
int colors)
Create and return a discrete color scheme with the specified name and number of colors, if any.
|
static ColorScheme |
parseColorScheme(String value)
Parse the specified value into a color scheme.
|
public static ColorScheme parseColorScheme(String value)
value
- value to parsepublic static ColorScheme getDiscreteColorScheme(String name, int colors)
name
- namecolors
- number of colorsnull
if no such discrete color scheme existspublic static ColorScheme getContinuousColorScheme(String name, int colors)
name
- namecolors
- number of colorsnull
if no such continuous color scheme existsCopyright (c) 2009-2016 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).