ViewOscillator.PathRotateSet


class ViewOscillator.PathRotateSet : ViewOscillator


Summary

Public constructors

Public functions

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

use to modify the rotation relative to the current path

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

Set the property of that view

Inherited functions

From androidx.constraintlayout.core.motion.utils.KeyCycleOscillator
Float
get(t: Float)
CurveFit!
Float
getSlope(position: Float)
java-static KeyCycleOscillator!
makeWidgetCycle(attribute: String!)
Unit
setCustom(custom: Any!)
Unit
setPoint(
    framePosition: Int,
    shape: Int,
    waveString: String!,
    variesBy: Int,
    period: Float,
    offset: Float,
    phase: Float,
    value: Float
)

sets a oscillator wave point

Unit
setPoint(
    framePosition: Int,
    shape: Int,
    waveString: String!,
    variesBy: Int,
    period: Float,
    offset: Float,
    phase: Float,
    value: Float,
    custom: Any!
)

sets a oscillator wave point

Unit
setProperty(widget: MotionWidget!, t: Float)
Unit
setType(type: String!)
Unit
setup(pathLength: Float)
String!
Boolean
From androidx.constraintlayout.motion.utils.ViewOscillator
java-static ViewOscillator!

Create a spline that manipulates a specific property of a view

Public constructors

PathRotateSet

Added in 2.2.0
PathRotateSet()

Public functions

setPathRotate

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

use to modify the rotation relative to the current path

Parameters
view: View!

the view to modify

t: Float

the point in time to manipulate

dx: Double

of the path

dy: Double

of the path

setProperty

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

Set the property of that view

Parameters
view: View!
t: Float