# ViewOscillator.PathRotateSet

Artifact: [androidx.constraintlayout:constraintlayout](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/motion/utils/ViewOscillator.java+class:androidx.constraintlayout.motion.utils.ViewOscillator.PathRotateSet) Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

*** ** * ** ***


```
class ViewOscillator.PathRotateSet : ViewOscillator
```

<br />

|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) ||||
| ↳ | [androidx.constraintlayout.core.motion.utils.KeyCycleOscillator](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator) |||
|   | ↳ | [androidx.constraintlayout.motion.utils.ViewOscillator](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/utils/ViewOscillator) ||
|   |   | ↳ | [androidx.constraintlayout.motion.utils.ViewOscillator.PathRotateSet](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/utils/ViewOscillator.PathRotateSet) |

*** ** * ** ***

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/utils/ViewOscillator.PathRotateSet#PathRotateSet()()` |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/utils/ViewOscillator.PathRotateSet#setPathRotate(android.view.View,float,double,double)(view: https://developer.android.com/reference/android/view/View.html!, t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, dx: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html, dy: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)` use to modify the rotation relative to the current path |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/utils/ViewOscillator.PathRotateSet#setProperty(android.view.View,float)(view: https://developer.android.com/reference/android/view/View.html!, t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` Set the property of that view |

| ### Inherited functions |
|---|
| From [androidx.constraintlayout.core.motion.utils.KeyCycleOscillator](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator) |---|---| | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#get(float)(t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` | | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/CurveFit!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#getCurveFit()()` | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#getSlope(float)(position: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` | | `java-static https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#makeWidgetCycle(java.lang.String)(attribute: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setCustom(java.lang.Object)(custom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html!)` | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setPoint(int,int,java.lang.String,int,float,float,float,float)( framePosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, shape: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, waveString: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, variesBy: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, period: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, offset: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, phase: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html )` sets a oscillator wave point | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setPoint(int,int,java.lang.String,int,float,float,float,float,java.lang.Object)( framePosition: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, shape: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, waveString: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!, variesBy: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, period: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, offset: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, phase: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html, custom: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html! )` sets a oscillator wave point | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setProperty(androidx.constraintlayout.core.motion.MotionWidget,float)(widget: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/MotionWidget!, t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setType(java.lang.String)(type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setup(float)(pathLength: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html)` | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#toString()()` | | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#variesByPath()()` | |
| From [androidx.constraintlayout.motion.utils.ViewOscillator](https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/utils/ViewOscillator) |---|---| | `java-static https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/utils/ViewOscillator!` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/motion/utils/ViewOscillator#makeSpline(java.lang.String)(str: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` Create a spline that manipulates a specific property of a view | |

| ### Inherited properties |
|---|
| From [androidx.constraintlayout.core.motion.utils.KeyCycleOscillator](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator) |---|---| | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#mVariesBy()` | |

## Public constructors

### PathRotateSet

Added in 2.2.2

```
PathRotateSet()
```

## Public functions

### setPathRotate

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

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

use to modify the rotation relative to the current path

| Parameters |
|---|---|
| `view: https://developer.android.com/reference/android/view/View.html!` | the view to modify |
| `t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` | the point in time to manipulate |
| `dx: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | of the path |
| `dy: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html` | of the path |

### setProperty

Added in [2.2.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#2.2.2)

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

Set the property of that view

| Parameters |
|---|---|
| `view: https://developer.android.com/reference/android/view/View.html!` |   |
| `t: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html` |   |