ViewSpline.CustomSet


class ViewSpline.CustomSet : ViewSpline


Summary

Public constructors

CustomSet(attribute: String!, attrList: SparseArray<ConstraintAttribute!>!)

Public functions

Unit
setPoint(position: Int, value: ConstraintAttribute!)

set the CustomAttribute

Unit
setPoint(position: Int, value: Float)

this call will throw RuntimeException

Unit
setProperty(view: View!, t: Float)

the main interface to setting a view property

Unit
setup(curveType: Int)

Public constructors

CustomSet

Added in 2.2.0
CustomSet(attribute: String!, attrList: SparseArray<ConstraintAttribute!>!)

Public functions

setPoint

Added in 2.2.0
fun setPoint(position: Int, value: ConstraintAttribute!): Unit

set the CustomAttribute

Parameters
position: Int
value: ConstraintAttribute!

setPoint

fun setPoint(position: Int, value: Float): Unit

this call will throw RuntimeException

Parameters
position: Int

the position

value: Float

the value

setProperty

Added in 2.2.0
fun setProperty(view: View!, t: Float): Unit

the main interface to setting a view property

Parameters
view: View!

the view

t: Float

the point of time

setup

fun setup(curveType: Int): Unit
Parameters
curveType: Int