Package | Description |
---|---|
heronarts.lx.color |
Classes for color manipulation, blending, color values.
|
heronarts.lx.command | |
heronarts.lx.effect.color | |
heronarts.lx.pattern.color | |
heronarts.p3lx.ui.component |
Collection of standard UI components.
|
Modifier and Type | Field and Description |
---|---|
LXDynamicColor |
LXPalette.color
The primary active color value
|
Modifier and Type | Field and Description |
---|---|
List<LXDynamicColor> |
LXSwatch.colors |
Modifier and Type | Method and Description |
---|---|
LXDynamicColor |
LXSwatch.addColor()
Adds a new dynamic color to the swatch
|
LXDynamicColor |
LXSwatch.addColor(int index,
JsonObject colorObj) |
LXDynamicColor |
LXSwatch.getColor(int index)
Retrieves the color at a given index in the swatch.
|
LXDynamicColor |
LXPalette.getSwatchColor(int index)
Gets the color in the active swatch at the given index.
|
LXDynamicColor |
LXSwatch.removeColor()
Removes the last color from the swatch
|
LXDynamicColor |
LXSwatch.removeColor(int index)
Removes the color at a specific index from the swatch
|
LXDynamicColor |
LXSwatch.removeColor(LXDynamicColor color)
Removes a specific color from the swatch
|
Modifier and Type | Method and Description |
---|---|
void |
LXSwatch.Listener.colorAdded(LXSwatch swatch,
LXDynamicColor color) |
void |
LXSwatch.Listener.colorRemoved(LXSwatch swatch,
LXDynamicColor color) |
LXDynamicColor |
LXSwatch.removeColor(LXDynamicColor color)
Removes a specific color from the swatch
|
void |
GradientUtils.ColorStop.set(LXDynamicColor color) |
void |
GradientUtils.ColorStop.set(LXDynamicColor color,
float hueOffset) |
void |
GradientUtils.ColorStop.set(LXDynamicColor color,
float hueOffset,
float saturationOffset,
float brightnessOffset) |
Constructor and Description |
---|
RemoveColor(LXDynamicColor color) |
Modifier and Type | Method and Description |
---|---|
LXDynamicColor |
ColorizeEffect.getSwatchColor() |
Modifier and Type | Method and Description |
---|---|
LXDynamicColor |
SolidPattern.getPaletteColor() |
LXDynamicColor |
GradientPattern.getPrimaryColor() |
Constructor and Description |
---|
UIDynamicColorPicker(float x,
float y,
float w,
float h,
LXDynamicColor dynamicColor) |
UIDynamicColorPicker(LXDynamicColor dynamicColor) |
LX library by Mark C. Slee. © 2012-2020