public abstract class SplineSet
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SplineSet.CustomSet |
static class |
SplineSet.CustomSpline |
| Modifier and Type | Field and Description |
|---|---|
protected CurveFit |
mCurveFit |
protected int[] |
mTimePoints |
protected float[] |
mValues |
| Constructor and Description |
|---|
SplineSet() |
| Modifier and Type | Method and Description |
|---|---|
float |
get(float t) |
CurveFit |
getCurveFit() |
float |
getSlope(float t) |
static SplineSet |
makeCustomSpline(java.lang.String str,
KeyFrameArray.CustomArray attrList) |
static SplineSet |
makeCustomSplineSet(java.lang.String str,
KeyFrameArray.CustomVar attrList) |
static SplineSet |
makeSpline(java.lang.String str,
long currentTime) |
void |
setPoint(int position,
float value) |
void |
setProperty(TypedValues widget,
float t) |
void |
setType(java.lang.String type) |
void |
setup(int curveType) |
java.lang.String |
toString() |
protected CurveFit mCurveFit
protected int[] mTimePoints
protected float[] mValues
public void setProperty(TypedValues widget, float t)
public java.lang.String toString()
toString in class java.lang.Objectpublic void setType(java.lang.String type)
public float get(float t)
public float getSlope(float t)
public CurveFit getCurveFit()
public void setPoint(int position,
float value)
public void setup(int curveType)
public static SplineSet makeCustomSpline(java.lang.String str, KeyFrameArray.CustomArray attrList)
public static SplineSet makeCustomSplineSet(java.lang.String str, KeyFrameArray.CustomVar attrList)
public static SplineSet makeSpline(java.lang.String str, long currentTime)