public class

ViewSpline.CustomSet

extends ViewSpline

 java.lang.Object

androidx.constraintlayout.core.motion.utils.SplineSet

androidx.constraintlayout.motion.utils.ViewSpline

↳androidx.constraintlayout.motion.utils.ViewSpline.CustomSet

Summary

Fields
from SplineSetmCurveFit, mTimePoints[], mValues[]
Constructors
publicCustomSet(java.lang.String attribute, <any> attrList)

Methods
public voidsetPoint(int position, ConstraintAttribute value)

set the CustomAttribute

public voidsetPoint(int position, float value)

this call will throw RuntimeException

public abstract voidsetProperty(View view, float t)

the main interface to setting a view property

public voidsetup(int curveType)

from ViewSplinemakeCustomSpline, makeSpline
from SplineSetget, getCurveFit, getSlope, makeCustomSpline, makeCustomSplineSet, makeSpline, setProperty, setType, toString
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructors

public CustomSet(java.lang.String attribute, <any> attrList)

Methods

public void setup(int curveType)

Parameters:

curveType:

public void setPoint(int position, float value)

this call will throw RuntimeException

Parameters:

position: the position
value: the value

public void setPoint(int position, ConstraintAttribute value)

set the CustomAttribute

Parameters:

position:
value:

public abstract void setProperty(View view, float t)

the main interface to setting a view property

Parameters:

view: the view
t: the point of time