ViewSpline.CustomSet
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
Public constructors |
|---|
CustomSet(String attribute, SparseArray<ConstraintAttribute> attrList) |
Public methods |
|
|---|---|
void |
setPoint(int position, ConstraintAttribute value)set the CustomAttribute |
void |
setPoint(int position, float value)this call will throw RuntimeException |
void |
setProperty(View view, float t)the main interface to setting a view property |
void |
setup(int curveType) |
Inherited fields |
||||||
|---|---|---|---|---|---|---|
|
Inherited methods |
||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||
|
Public constructors
CustomSet
Added in 2.2.1
public CustomSet(String attribute, SparseArray<ConstraintAttribute> attrList)
Public methods
setPoint
Added in 2.2.1
public void setPoint(int position, ConstraintAttribute value)
set the CustomAttribute
| Parameters | |
|---|---|
int position |
|
ConstraintAttribute value |
setPoint
public void setPoint(int position, float value)
this call will throw RuntimeException
| Parameters | |
|---|---|
int position |
the position |
float value |
the value |
setProperty
Added in 2.2.1
public 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 |