public interface ColorModel
This is open source software released under the Apache 2.0 License
| Modifier and Type | Field and Description |
|---|---|
static Supplier<ColorModel> |
CIE_MODEL |
static Supplier<ColorModel> |
DEFAULT |
static Supplier<ColorModel> |
GOLDEN_RATIO |
static Supplier<ColorModel> |
KELLY |
| Modifier and Type | Method and Description |
|---|---|
Color |
getColor(Object key)
Returns the color for the key specified
|
Color |
put(Object key,
Color color)
Registers a color for the key specified
|
ColorModel |
reset()
Resets this color model
|
static String |
toHexString(Color color)
Returns a HEX string representation of the color
|
static final Supplier<ColorModel> DEFAULT
static final Supplier<ColorModel> KELLY
static final Supplier<ColorModel> GOLDEN_RATIO
static final Supplier<ColorModel> CIE_MODEL
Color put(Object key, Color color)
key - the key for colorcolor - the color referenceColor getColor(Object key)
key - the key for requested colorColorModel reset()
Copyright 2014-2017, Xavier Witdouck