# OrbiterPosition.Center

Artifact: [androidx.xr.compose:compose](https://developer.android.com/jetpack/androidx/releases/xr-compose) [View Source](https://cs.android.com/search?q=file:androidx/xr/compose/spatial/Orbiter.kt+class:androidx.xr.compose.spatial.OrbiterPosition.Center) Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)


```
class OrbiterPosition.Center : OrbiterPosition
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.xr.compose.spatial.OrbiterPosition](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition) ||
|   | ↳ | [androidx.xr.compose.spatial.OrbiterPosition.Center](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.Center) |

*** ** * ** ***

Center of the parent (non-edge).

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterPosition.Center#Center(androidx.xr.compose.unit.DpVolumeOffset)(offset: https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/DpVolumeOffset)` |

## Public constructors

### Center

Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)

```
Center(
    offset: DpVolumeOffset = DpVolumeOffset(0.dp, 0.dp, OrbiterDefaults.Elevation)
)
```

| Parameters |
|---|---|
| `offset: https://developer.android.com/reference/kotlin/androidx/xr/compose/unit/DpVolumeOffset = DpVolumeOffset(0.dp, 0.dp, OrbiterDefaults.Elevation)` | manual offset applied to the orbiter. This offset will automatically adjust the horizontal offset according to the layout direction: when the layout direction is LTR, positive x offsets will move the content to the right and when the layout direction is RTL, positive x offsets will move the content to the left. |