public class LXDynamicColor extends LXModulatorComponent implements LXOscComponent
Modifier and Type | Class and Description |
---|---|
static class |
LXDynamicColor.BlendMode |
static class |
LXDynamicColor.Mode |
LXModulatorComponent.Profiler
LXComponent.Placeholder, LXComponent.Renamable
LXSerializable.Utils
Modifier and Type | Field and Description |
---|---|
EnumParameter<LXDynamicColor.BlendMode> |
blendMode |
ColorParameter |
color |
EnumParameter<LXDynamicColor.Mode> |
mode |
BoundedParameter |
period |
ColorParameter |
primary |
ColorParameter |
secondary |
modulators, profiler
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Constructor and Description |
---|
LXDynamicColor(LXSwatch swatch) |
Modifier and Type | Method and Description |
---|---|
double |
getBasis() |
float |
getBrightness() |
int |
getColor()
Gets the current value of this dynamic color
|
double |
getHue()
Gets the hue of the current dynamic color.
|
float |
getHuef()
Gets the hue of the current dynamic color.
|
int |
getIndex() |
String |
getPath()
Accessor for the path of this object.
|
float |
getSaturation() |
LXSwatch |
getSwatch() |
addModulator, addModulator, addModulator, constructProfiler, dispose, getModulator, getModulators, loop, moveModulator, removeModulator, startModulator
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, load, loadParameters, onParameterChanged, removeParameter, removeParameter, save, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOscAddress, handleOscMessage
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public final EnumParameter<LXDynamicColor.Mode> mode
public final EnumParameter<LXDynamicColor.BlendMode> blendMode
public final BoundedParameter period
public final ColorParameter primary
public final ColorParameter secondary
public final ColorParameter color
public LXDynamicColor(LXSwatch swatch)
public LXSwatch getSwatch()
public String getPath()
LXComponent
getPath
in interface LXPath
getPath
in class LXComponent
public int getIndex()
public double getBasis()
public double getHue()
public float getHuef()
public float getSaturation()
public float getBrightness()
public int getColor()
LX library by Mark C. Slee. © 2012-2020