| Package | Description |
|---|---|
| net.returnvoid.color |
A package concerning colors, color spaces, color metrics and color palettes.
|
| Modifier and Type | Method and Description |
|---|---|
LCHColor |
LCHColor.copy() |
static LCHColor |
LCHColor.getMeanColor(java.util.ArrayList<RColor> colors)
Calculates the mean color of the input colors
|
static LCHColor |
LCHColor.getMeanColor(int start,
int end,
java.util.ArrayList<RColor> colors)
Calculates the mean color of the input colors.
|
static LCHColor |
LCHColor.getMeanColor(int start,
int end,
RColor... colors)
Calculates the mean color of the input colors.
|
static LCHColor |
LCHColor.getMeanColor(RColor... colors)
Calculates the mean color of the input colors
|
static LCHColor |
LCHColor.getRandomLCH()
Creates a new opaque LabColor with random values.
|
static LCHColor |
LCHColor.lerpColors(RColor input1,
RColor input2,
float amt)
Lerps the two input colors and creates a new color.
|
LCHColor |
LCHColor.setAlpha(java.lang.Float alpha) |
LCHColor |
LCHColor.setAlpha(int alpha)
Sets the value of alpha / transparency.
|
LCHColor |
LCHColor.setChroma(java.lang.Float c)
Sets the chroma value.
|
LCHColor |
LCHColor.setChroma(int c)
Sets the chroma value.
|
LCHColor |
LCHColor.setHue(java.lang.Float h)
Sets the hue value.
|
LCHColor |
LCHColor.setHue(int h)
Sets the hue value.
|
LCHColor |
LCHColor.setLuminance(java.lang.Float l)
Sets the luminance value.
|
LCHColor |
LCHColor.setLuminance(int l)
Sets the luminance value.
|
LCHColor |
XYZColor.toLCH() |
LCHColor |
RGBColor.toLCH() |
LCHColor |
RColor.toLCH()
Returns a LCHColor representation of the current color.
|
LCHColor |
LCHColor.toLCH() |
LCHColor |
LabColor.toLCH() |
LCHColor |
HSBColor.toLCH() |