Package heronarts.lx.modulator
Class MultiStageEnvelope.Stage
java.lang.Object
heronarts.lx.modulator.MultiStageEnvelope.Stage
- All Implemented Interfaces:
LXSerializable
- Enclosing class:
MultiStageEnvelope
-
Nested Class Summary
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondoublegetBasis()doublegetShape()doublegetValue()voidload(LX lx, JsonObject object) Restores this instance from a JSON objectvoidsave(LX lx, JsonObject object) Serializes this instance into the JSON objectvoidsetPosition(double basis, double value) voidsetShape(double shape) toString()
-
Field Details
-
initial
public final boolean initial -
last
public final boolean last
-
-
Method Details
-
setPosition
public void setPosition(double basis, double value) -
setShape
public void setShape(double shape) -
getBasis
public double getBasis() -
getValue
public double getValue() -
getShape
public double getShape() -
toString
-
save
Description copied from interface:LXSerializableSerializes this instance into the JSON object- Specified by:
savein interfaceLXSerializable- Parameters:
lx- LX instanceobject- Object to serialize into
-
load
Description copied from interface:LXSerializableRestores this instance from a JSON object- Specified by:
loadin interfaceLXSerializable- Parameters:
lx- LX instanceobject- Object to deserialize
-