public static class RMInterpolator.Periodic extends RMInterpolator
Modifier and Type | Class and Description |
---|---|
static class |
RMInterpolator.Periodic.PeriodType |
RMInterpolator.Bounce, RMInterpolator.Direction, RMInterpolator.Periodic
BOUNCE, EASE_BOTH, EASE_BOTH_CUBIC, EASE_IN, EASE_IN_CUBIC, EASE_OUT, EASE_OUT_CUBIC, LINEAR, ONE_SHOT, RANDOM
Constructor and Description |
---|
Periodic() |
Modifier and Type | Method and Description |
---|---|
RMInterpolator.Periodic |
clone()
Standard clone implementation.
|
float |
getFrequency() |
java.lang.String |
getName()
Override to return Periodic.
|
RMInterpolator |
getParent() |
float |
getPhase() |
RMInterpolator.Periodic.PeriodType |
getType() |
double |
getValue(double aRatio,
double aStart,
double anEnd)
The main entry point.
|
boolean |
isShared()
Returns false, since periodic interpolators have parameters.
|
void |
setFrequency(float aFrequency) |
void |
setParent(RMInterpolator aParent) |
void |
setPhase(float aPhase) |
void |
setType(RMInterpolator.Periodic.PeriodType aType) |
getDirection, getInterpolator, getInterpolator, getInterpolatorCount, getNewInterpolator, getRatio, getValue, interpolate, interpolateBoth, interpolateOut, toString
public java.lang.String getName()
getName
in class RMInterpolator
public boolean isShared()
isShared
in class RMInterpolator
public double getValue(double aRatio, double aStart, double anEnd)
getValue
in class RMInterpolator
public float getFrequency()
public void setFrequency(float aFrequency)
public RMInterpolator getParent()
public void setParent(RMInterpolator aParent)
public float getPhase()
public void setPhase(float aPhase)
public RMInterpolator.Periodic.PeriodType getType()
public void setType(RMInterpolator.Periodic.PeriodType aType)
public RMInterpolator.Periodic clone()
RMInterpolator
clone
in class RMInterpolator