TimeCycleSplineSet.CustomVarSet

public class TimeCycleSplineSet.CustomVarSet extends TimeCycleSplineSet


Summary

Public constructors

Public methods

void
setPoint(
    int position,
    CustomVariable value,
    float period,
    int shape,
    float offset
)
void
setPoint(int position, float value, float period, int shape, float offset)
boolean
setProperty(MotionWidget view, float t, long time, KeyCache cache)
void
setup(int curveType)

Inherited Constants

From androidx.constraintlayout.core.motion.utils.TimeCycleSplineSet
static final int
static final int
static final int

Inherited methods

From androidx.constraintlayout.core.motion.utils.TimeCycleSplineSet
float
calcWave(float period)
CurveFit
void
setStartTime(long currentTime)
void
String

Public constructors

CustomVarSet

Added in 1.1.0-alpha13
public CustomVarSet(String attribute, KeyFrameArray.CustomVar attrList)

Public methods

setPoint

Added in 1.1.0-alpha13
public void setPoint(
    int position,
    CustomVariable value,
    float period,
    int shape,
    float offset
)

setPoint

public void setPoint(int position, float value, float period, int shape, float offset)

setProperty

Added in 1.1.0-alpha13
public boolean setProperty(MotionWidget view, float t, long time, KeyCache cache)

setup

public void setup(int curveType)