# SplineSet.CustomSet

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/SplineSet.java+class:androidx.constraintlayout.core.motion.utils.SplineSet.CustomSet) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)

*** ** * ** ***


```
public class SplineSet.CustomSet extends SplineSet
```

<br />

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

*** ** * ** ***

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet.CustomSet#CustomSet(java.lang.String,androidx.constraintlayout.core.motion.utils.KeyFrameArray.CustomArray)(https://developer.android.com/reference/java/lang/String.html attribute, https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyFrameArray.CustomArray attrList)` |

| ### Public methods |
|---|---|
| `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet.CustomSet#setPoint(int,androidx.constraintlayout.core.motion.CustomAttribute)(int position, https://developer.android.com/reference/androidx/constraintlayout/core/motion/CustomAttribute value)` |
| `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet.CustomSet#setPoint(int,float)(int position, float value)` |
| `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet.CustomSet#setProperty(androidx.constraintlayout.core.state.WidgetFrame,float)(https://developer.android.com/reference/androidx/constraintlayout/core/state/WidgetFrame view, float t)` |
| `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet.CustomSet#setup(int)(int curveType)` |

| ### Inherited fields |
|---|
| From [androidx.constraintlayout.core.motion.utils.SplineSet](https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet) |---|---| | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/CurveFit` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#mCurveFit()` | | `int[]` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#mTimePoints()` | | `float[]` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#mValues()` | |

| ### Inherited methods |
|---|
| From [androidx.constraintlayout.core.motion.utils.SplineSet](https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet) |---|---| | `float` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#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/SplineSet#getCurveFit()()` | | `float` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#getSlope(float)(float t)` | | `static https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#makeCustomSpline(java.lang.String,androidx.constraintlayout.core.motion.utils.KeyFrameArray.CustomArray)(https://developer.android.com/reference/java/lang/String.html str, https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyFrameArray.CustomArray attrList)` | | `static https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#makeCustomSplineSet(java.lang.String,androidx.constraintlayout.core.motion.utils.KeyFrameArray.CustomVar)(https://developer.android.com/reference/java/lang/String.html str, https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/KeyFrameArray.CustomVar attrList)` | | `static https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#makeSpline(java.lang.String,long)(https://developer.android.com/reference/java/lang/String.html str, long currentTime)` | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#setProperty(androidx.constraintlayout.core.motion.utils.TypedValues,float)(https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/TypedValues widget, float t)` | | `void` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#setType(java.lang.String)(https://developer.android.com/reference/java/lang/String.html type)` | | `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/constraintlayout/core/motion/utils/SplineSet#toString()()` | |

## Public constructors

### CustomSet

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

```
public CustomSet(String attribute, KeyFrameArray.CustomArray attrList)
```

## Public methods

### setPoint

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

```
public void setPoint(int position, CustomAttribute value)
```

### setPoint

```
public void setPoint(int position, float value)
```

### setProperty

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

```
public void setProperty(WidgetFrame view, float t)
```

### setup

```
public void setup(int curveType)
```