| Package | Description |
|---|---|
| net.returnvoid.color |
A package concerning colors, color spaces, color metrics and color palettes.
|
| Modifier and Type | Method and Description |
|---|---|
HSBColor |
HSBColor.copy() |
static HSBColor |
HSBColor.getMeanColor(java.util.ArrayList<RColor> colors)
Calculates the mean color of the input colors
|
static HSBColor |
HSBColor.getMeanColor(int start,
int end,
java.util.ArrayList<RColor> colors)
Calculates the mean color of the input colors.
|
static HSBColor |
HSBColor.getMeanColor(int start,
int end,
RColor... colors)
Calculates the mean color of the input colors.
|
static HSBColor |
HSBColor.getMeanColor(RColor... colors)
Calculates the mean color of the input colors
|
static HSBColor |
HSBColor.getRandomHSB()
Creates a new opaque HSBColor with random values.
|
static HSBColor |
HSBColor.lerpColors(RColor input1,
RColor input2,
float amt)
Lerps the two input colors and creates a new color.
|
HSBColor |
HSBColor.setAlpha(java.lang.Float alpha) |
HSBColor |
HSBColor.setAlpha(int alpha)
Sets the value of alpha / transparency.
|
HSBColor |
HSBColor.setBrightness(java.lang.Float b)
Sets the hue value.
|
HSBColor |
HSBColor.setBrightness(int b)
Sets the hue value.
|
HSBColor |
HSBColor.setHue(java.lang.Float h)
Sets the hue value.
|
HSBColor |
HSBColor.setHue(int h)
Sets the hue value.
|
HSBColor |
HSBColor.setSaturation(java.lang.Float s)
Sets the saturation value.
|
HSBColor |
HSBColor.setSaturation(int s)
Sets the saturation value.
|
HSBColor |
XYZColor.toHSB() |
HSBColor |
RGBColor.toHSB() |
HSBColor |
RColor.toHSB()
Returns a HSBColor representation of the current color.
|
HSBColor |
LCHColor.toHSB() |
HSBColor |
LabColor.toHSB() |
HSBColor |
HSBColor.toHSB() |
static HSBColor |
RGBColor.toHSB(float... paramters)
Creates HSBColor with given RGB values.
|
static HSBColor |
HSBColor.toHSB(int hex)
Creates an opaque HSBColor by the given input value.
|
static HSBColor |
HSBColor.toHSB(int hex,
float alpha)
Creates HSBColor with transparency by the given input value.
|