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