> Documentation index: https://developer.android.com/reference/llms.txt

# SwipeInfo

Artifact: [androidx.compose.ui:ui-test](https://developer.android.com/jetpack/androidx/releases/compose-ui.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/test/TouchInjectionScope.kt+class:androidx.compose.ui.test.SwipeInfo) Added in [1.14.0-alpha01](https://developer.android.com/jetpack/androidx/releases/compose-ui.md.txt#1.14.0-alpha01) Common/AllAndroid/JVM
- Cmn

  ```
  class SwipeInfo
  ```

*** ** * ** ***

Configuration for a single pointer in a multi-touch swipe with velocity.

## Summary

| ### Public constructors |
|---|---|
| `SwipeInfo( start: Offset, end: Offset, endVelocity: @FloatRange(from = 0.0) Float )` | Cmn |

| ### Public properties |
|---|---|---|
| `Offset` | `end` The end position of the gesture, in the node's local coordinate system | Cmn |
| `@FloatRange(from = 0.0) Float` | `endVelocity` The velocity of the gesture at the moment it ends in px/second. | Cmn |
| `Offset` | `start` The start position of the gesture, in the node's local coordinate system | Cmn |

## Public constructors

### SwipeInfo

Cmn Added in [1.14.0-alpha01](https://developer.android.com/jetpack/androidx/releases/compose-ui.md.txt#1.14.0-alpha01)

```
SwipeInfo(
    start: Offset,
    end: Offset,
    endVelocity: @FloatRange(from = 0.0) Float
)
```

| Parameters |
|---|---|
| `start: Offset` | The start position of the gesture, in the node's local coordinate system |
| `end: Offset` | The end position of the gesture, in the node's local coordinate system |
| `endVelocity: @FloatRange(from = 0.0) Float` | The velocity of the gesture at the moment it ends in px/second. Must be positive. |

## Public properties

### end

Cmn

```
val end: Offset
```

The end position of the gesture, in the node's local coordinate system

### endVelocity

Cmn Added in [1.14.0-alpha01](https://developer.android.com/jetpack/androidx/releases/compose-ui.md.txt#1.14.0-alpha01)

```
val endVelocity: @FloatRange(from = 0.0) Float
```

The velocity of the gesture at the moment it ends in px/second. Must be positive.

### start

Cmn

```
val start: Offset
```

The start position of the gesture, in the node's local coordinate system