ViewTimeCycle.PathRotate


class ViewTimeCycle.PathRotate : ViewTimeCycle


Summary

Public constructors

Public functions

Boolean
setPathRotate(
    view: View!,
    cache: KeyCache!,
    t: Float,
    time: Long,
    dx: Double,
    dy: Double
)

DO NOT CALL

Boolean
setProperty(view: View!, t: Float, time: Long, cache: KeyCache!)

Set the time cycle parameters

Inherited functions

From androidx.constraintlayout.core.motion.utils.TimeCycleSplineSet
Float
calcWave(period: Float)
CurveFit!
Unit
setPoint(position: Int, value: Float, period: Float, shape: Int, offset: Float)
Unit
setStartTime(currentTime: Long)
Unit
setType(type: String!)
Unit
setup(curveType: Int)
String!
From androidx.constraintlayout.motion.utils.ViewTimeCycle
Float
get(pos: Float, time: Long, view: View!, cache: KeyCache!)

get a value from the time cycle

java-static ViewTimeCycle!

make a custom time cycle

java-static ViewTimeCycle!
makeSpline(str: String!, currentTime: Long)

Make a time cycle spline

Public constructors

PathRotate

Added in 2.2.0-alpha13
PathRotate()

Public functions

setPathRotate

Added in 2.2.0-alpha13
fun setPathRotate(
    view: View!,
    cache: KeyCache!,
    t: Float,
    time: Long,
    dx: Double,
    dy: Double
): Boolean

DO NOT CALL

Parameters
view: View!
cache: KeyCache!
t: Float
time: Long
dx: Double
dy: Double
Returns
Boolean

setProperty

Added in 2.2.0-alpha13
fun setProperty(view: View!, t: Float, time: Long, cache: KeyCache!): Boolean

Set the time cycle parameters

Parameters
view: View!
t: Float
time: Long
cache: KeyCache!
Returns
Boolean