public abstract class ViewSpline extends SplineSet


Summary

Nested types

public class ViewSpline.CustomSet extends ViewSpline
public class ViewSpline.PathRotate extends ViewSpline

Public constructors

Public methods

static ViewSpline
static ViewSpline
abstract void
setProperty(View view, float t)

the main interface to setting a view property

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
setPoint(int position, float value)
void
setProperty(TypedValues widget, float t)
void
void
setup(int curveType)
String

Public constructors

ViewSpline

Added in 2.2.0-alpha13
public ViewSpline()

Public methods

makeCustomSpline

Added in 2.2.0-alpha13
public static ViewSpline makeCustomSpline(String str, SparseArray<ConstraintAttribute> attrList)
Parameters
String str
SparseArray<ConstraintAttribute> attrList
Returns
ViewSpline

makeSpline

Added in 2.2.0-alpha13
public static ViewSpline makeSpline(String str)
Parameters
String str
Returns
ViewSpline

setProperty

Added in 2.2.0-alpha13
public abstract void setProperty(View view, float t)

the main interface to setting a view property

Parameters
View view

the view

float t

the point of time