public class RMPeriodicInterpolator extends RMInterpolator
Modifier and Type | Class and Description |
---|---|
static class |
RMPeriodicInterpolator.PeriodType |
RMInterpolator.Bounce
Modifier and Type | Field and Description |
---|---|
float |
_frequency |
RMInterpolator |
_parent |
float |
_phase |
RMPeriodicInterpolator.PeriodType |
_type |
BOUNCE, DIR_BOTH, DIR_IN, DIR_OUT, EASE_BOTH, EASE_BOTH_CUBIC, EASE_IN, EASE_IN_CUBIC, EASE_OUT, EASE_OUT_CUBIC, LINEAR, ONE_SHOT, RANDOM
Constructor and Description |
---|
RMPeriodicInterpolator()
Create a default periodic interpolator
|
Modifier and Type | Method and Description |
---|---|
RMPeriodicInterpolator |
clone()
Standard clone implementation.
|
java.lang.Object |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML unarchival
|
float |
getFrequency() |
java.lang.String |
getName()
Returns the name of this interpolator.
|
RMInterpolator |
getParent() |
float |
getPhase() |
RMPeriodicInterpolator.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(RMPeriodicInterpolator.PeriodType aType) |
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML Archival
|
addInterpolator, getDirection, getInterpolator, getInterpolator, getInterpolatorCount, getNewInterpolator, getRatio, getValue, interpolate, interpolateBoth, interpolateOut, toString
public RMInterpolator _parent
public RMPeriodicInterpolator.PeriodType _type
public float _frequency
public float _phase
public RMPeriodicInterpolator()
public java.lang.String getName()
RMInterpolator
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 RMInterpolator getParent()
public float getPhase()
public RMPeriodicInterpolator.PeriodType getType()
public void setFrequency(float aFrequency)
public void setParent(RMInterpolator aParent)
public void setPhase(float aPhase)
public void setType(RMPeriodicInterpolator.PeriodType aType)
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver, java.lang.Object anOwner)
public java.lang.Object fromXML(com.reportmill.archiver.RXArchiver anArchiver, com.reportmill.archiver.RXElement anElement, java.lang.Object anOwner)
public RMPeriodicInterpolator clone()
RMInterpolator
clone
in class RMInterpolator