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