# KeyCycleOscillator.PathRotateSet

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

*** ** * ** ***


```
public class KeyCycleOscillator.PathRotateSet extends KeyCycleOscillator
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.constraintlayout.core.motion.utils.KeyCycleOscillator](https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator) ||
|   | ↳ | [androidx.constraintlayout.core.motion.utils.KeyCycleOscillator.PathRotateSet](https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator.PathRotateSet) |

*** ** * ** ***

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator.PathRotateSet#PathRotateSet(java.lang.String)(https://developer.android.com/reference/java/lang/String.html str)` |

| ### Public methods |
|---|---|
| `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator.PathRotateSet#setPathRotate(androidx.constraintlayout.core.motion.MotionWidget,float,double,double)(https://developer.android.com/reference/androidx/constraintlayout/core/motion/MotionWidget view, float t, double dx, double dy)` |
| `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator.PathRotateSet#setProperty(androidx.constraintlayout.core.motion.MotionWidget,float)(https://developer.android.com/reference/androidx/constraintlayout/core/motion/MotionWidget widget, float t)` |

| ### Inherited fields |
|---|
| From [androidx.constraintlayout.core.motion.utils.KeyCycleOscillator](https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator) |---|---| | `int` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#mVariesBy()` | |

| ### Inherited methods |
|---|
| From [androidx.constraintlayout.core.motion.utils.KeyCycleOscillator](https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator) |---|---| | `float` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#get(float)(float t)` | | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/CurveFit` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#getCurveFit()()` | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#getSlope(float)(float position)` | | `static https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#makeWidgetCycle(java.lang.String)(https://developer.android.com/reference/java/lang/String.html attribute)` | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setCustom(java.lang.Object)(https://developer.android.com/reference/java/lang/Object.html custom)` | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setPoint(int,int,java.lang.String,int,float,float,float,float)( int framePosition, int shape, https://developer.android.com/reference/java/lang/String.html waveString, int variesBy, float period, float offset, float phase, float value )` sets a oscillator wave point | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setPoint(int,int,java.lang.String,int,float,float,float,float,java.lang.Object)( int framePosition, int shape, https://developer.android.com/reference/java/lang/String.html waveString, int variesBy, float period, float offset, float phase, float value, https://developer.android.com/reference/java/lang/Object.html custom )` sets a oscillator wave point | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setType(java.lang.String)(https://developer.android.com/reference/java/lang/String.html type)` | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#setup(float)(float pathLength)` | | `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#toString()()` | | `boolean` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyCycleOscillator#variesByPath()()` | |

## Public constructors

### PathRotateSet

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

```
public PathRotateSet(String str)
```

## Public methods

### setPathRotate

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

```
public void setPathRotate(MotionWidget view, float t, double dx, double dy)
```

### setProperty

```
public void setProperty(MotionWidget widget, float t)
```