ViewSpline.PathRotate


class ViewSpline.PathRotate : ViewSpline


Summary

Public constructors

Public functions

Unit
setPathRotate(view: View!, t: Float, dx: Double, dy: Double)

Use to set the rotation relative to the path

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

the main interface to setting a view property

Inherited functions

From androidx.constraintlayout.core.motion.utils.SplineSet
Float
get(t: Float)
CurveFit!
Float
java-static SplineSet!
java-static SplineSet!
java-static SplineSet!
makeSpline(str: String!, currentTime: Long)
Unit
setPoint(position: Int, value: Float)
Unit
setProperty(widget: TypedValues!, t: Float)
Unit
setType(type: String!)
Unit
setup(curveType: Int)
String!
From androidx.constraintlayout.motion.utils.ViewSpline
java-static ViewSpline!
java-static ViewSpline!

Public constructors

PathRotate

Added in 2.2.0
PathRotate()

Public functions

setPathRotate

Added in 2.2.0
fun setPathRotate(view: View!, t: Float, dx: Double, dy: Double): Unit

Use to set the rotation relative to the path

Parameters
view: View!

the view to set

t: Float

the time point

dx: Double

the path velocity in x

dy: Double

the path velocity in y

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