SplineSet.CustomSpline


public class SplineSet.CustomSpline extends SplineSet


Summary

Public constructors

Public methods

void
setPoint(int position, CustomVariable value)
void
setPoint(int position, float value)
void
setProperty(MotionWidget view, float t)
void
setProperty(TypedValues widget, float t)
void
setup(int curveType)

Inherited methods

From androidx.constraintlayout.core.motion.utils.SplineSet
float
get(float t)
CurveFit
float
getSlope(float t)
static SplineSet
static SplineSet
static SplineSet
makeSpline(String str, long currentTime)
void
String

Public constructors

CustomSpline

Added in 1.1.0
public CustomSpline(String attribute, KeyFrameArray.CustomVar attrList)

Public methods

setPoint

Added in 1.1.0
public void setPoint(int position, CustomVariable value)

setPoint

public void setPoint(int position, float value)

setProperty

Added in 1.1.0
public void setProperty(MotionWidget view, float t)

setProperty

public void setProperty(TypedValues widget, float t)

setup

public void setup(int curveType)