# SpringBoundary

Artifact: [androidx.constraintlayout:constraintlayout-compose](https://developer.android.com/jetpack/androidx/releases/constraintlayout) [View Source](https://cs.android.com/search?q=file:androidx/constraintlayout/compose/TransitionScope.kt+class:androidx.constraintlayout.compose.SpringBoundary) Added in [1.1.2](https://developer.android.com/jetpack/androidx/releases/constraintlayout#1.1.2)


```
@ExperimentalMotionApi
class SpringBoundary
```

<br />

*** ** * ** ***

Behavior of the spring as it crosses its target position. The target position may be the start or end of the `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/Transition`.

## Summary

| ### Public companion properties |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/SpringBoundary` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/SpringBoundary#BounceBoth()` Bouncing motion whenever it crosses the target position. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/SpringBoundary` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/SpringBoundary#BounceEnd()` Bouncing motion when the target position is at the end of the `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/Transition`. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/SpringBoundary` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/SpringBoundary#BounceStart()` Bouncing motion when the target position is at the start of the `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/Transition`. |
| `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/SpringBoundary` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/SpringBoundary#Overshoot()` The default Spring behavior, it will overshoot around the target position. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/SpringBoundary#name()` |

## Public companion properties

### BounceBoth

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

```
val BounceBoth: SpringBoundary
```

Bouncing motion whenever it crosses the target position. This basically guarantees that the spring motion will never overshoot.

### BounceEnd

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

```
val BounceEnd: SpringBoundary
```

Bouncing motion when the target position is at the end of the `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/Transition`. Otherwise, it will overshoot.

### BounceStart

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

```
val BounceStart: SpringBoundary
```

Bouncing motion when the target position is at the start of the `https://developer.android.com/reference/kotlin/androidx/constraintlayout/compose/Transition`. Otherwise, it will overshoot.

### Overshoot

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

```
val Overshoot: SpringBoundary
```

The default Spring behavior, it will overshoot around the target position.

## Public properties

### name

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

```
val name: String
```