# 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)

*** ** * ** ***

<br />

```
class SplineSet.CustomSet : SplineSet
```

<br />

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

*** ** * ** ***

## Summary

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

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/SplineSet.CustomSet#setPoint(int,androidx.constraintlayout.core.motion.CustomAttribute)(position: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, value: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/CustomAttribute!)` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/SplineSet.CustomSet#setPoint(int,float)(position: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, value: 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/SplineSet.CustomSet#setProperty(androidx.constraintlayout.core.state.WidgetFrame,float)(view: https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/state/WidgetFrame!, 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/SplineSet.CustomSet#setup(int)(curveType: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` |

### Inherited functions

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

### Inherited properties

From [androidx.constraintlayout.core.motion.utils.SplineSet](https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/SplineSet) `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/CurveFit!` `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/SplineSet#mCurveFit()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html>!` `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/SplineSet#mTimePoints()` `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-float/index.html>!` `https://developer.android.com/reference/kotlin/androidx/constraintlayout/core/motion/utils/SplineSet#mValues()`

## Public constructors

### CustomSet

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

```
CustomSet(attribute: String!, attrList: KeyFrameArray.CustomArray!)
```

## Public functions

### setPoint

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

```
fun setPoint(position: Int, value: CustomAttribute!): Unit
```

### setPoint

```
fun setPoint(position: Int, value: Float): Unit
```

### setProperty

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

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

### setup

```
fun setup(curveType: Int): Unit
```