Package | Description |
---|---|
heronarts.lx |
Core LX engine and component functionality.
|
heronarts.lx.color |
Classes for color manipulation, blending, color values.
|
heronarts.lx.studio.ui.global |
Modifier and Type | Field and Description |
---|---|
protected LXPalette |
LXLayeredComponent.palette |
LXPalette |
LXEngine.palette |
Modifier and Type | Method and Description |
---|---|
LXPalette |
LXPalette.addListener(LXPalette.Listener listener)
Registers a listener to the palette
|
LXPalette |
LXPalette.moveSwatch(LXSwatch swatch,
int index)
Moves a saved swatch to a different position in the list
|
LXPalette |
LXPalette.removeListener(LXPalette.Listener listener)
Unregisters a listener to the palette
|
LXPalette |
LXPalette.removeSwatch(LXSwatch swatch)
Removes a swatch from the color palette's saved swatch list
|
LXPalette |
LXPalette.setSwatch(LXSwatch swatch) |
Modifier and Type | Method and Description |
---|---|
void |
GradientUtils.ColorStops.setPaletteGradient(LXPalette palette,
int start,
int num) |
void |
LXPalette.Listener.swatchAdded(LXPalette palette,
LXSwatch swatch) |
void |
LXPalette.Listener.swatchMoved(LXPalette palette,
LXSwatch swatch) |
void |
LXPalette.Listener.swatchRemoved(LXPalette palette,
LXSwatch swatch) |
Constructor and Description |
---|
UIPalette(UI ui,
LXPalette palette,
float x,
float y,
float w) |
LX library by Mark C. Slee. © 2012-2020