ViewSpline.CustomSet

public class ViewSpline.CustomSet extends ViewSpline


Summary

Public constructors

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)

Public constructors

CustomSet

Added in 2.2.0-alpha13
public CustomSet(String attribute, SparseArray<ConstraintAttribute> attrList)

Public methods

setPoint

Added in 2.2.0-alpha13
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.0-alpha13
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

setup

public void setup(int curveType)
Parameters
int curveType