public interface JaxoWiggleObject
Modifier and Type | Method and Description |
---|---|
int |
getAmp()
Gets the amplitude of this WiggleObject.
|
float |
getFrequency()
Gets the current frequency (number of wiggles per unit length)
of this WiggleObject.
|
int |
getWiggles()
Gets the number of wiggles of this WiggleObject.
|
void |
setAmp(int amp)
Sets the amplitude of this WiggleObject.
|
void |
setFrequencyFromWiggles(int wiggles)
Sets the number of wiggles to the given value and derives
the frequency from it.
|
void |
setWiggles(int wiggles)
Sets the number of wiggles of this WiggleObject.
|
void |
setWigglesFromFrequency()
Sets the number of wiggles from the current frequency.
|
void |
setWigglesFromFrequency(float frequency)
Sets the frequency to the given value
and derives the number of wiggles from it.
|
void setWiggles(int wiggles)
wiggles
- The number of wiggles.int getWiggles()
void setAmp(int amp)
amp
- The amplitude to set.int getAmp()
float getFrequency()
void setWigglesFromFrequency()
void setWigglesFromFrequency(float frequency)
frequency
- The frequency to set.void setFrequencyFromWiggles(int wiggles)
wiggles
- The number of wiggles to set.Licensed under GPL. For more information, see http://jaxodraw.sourceforge.net/license.html or the LICENSE file in the jaxodraw distribution.