# OrbiterAnchorPoint

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.OrbiterAnchorPoint) Added in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02) Deprecated in [1.0.0-beta02](https://developer.android.com/jetpack/androidx/releases/xr-compose#1.0.0-beta02)


```
sealed class OrbiterAnchorPoint
```

<br />

Known direct subclasses [OrbiterAnchorPoint.Absolute](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute), [OrbiterAnchorPoint.BottomEnd](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.BottomEnd), [OrbiterAnchorPoint.BottomStart](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.BottomStart), [OrbiterAnchorPoint.Bottom](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Bottom), [OrbiterAnchorPoint.EndBottom](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.EndBottom), [OrbiterAnchorPoint.EndTop](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.EndTop), [OrbiterAnchorPoint.End](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.End), [OrbiterAnchorPoint.StartBottom](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.StartBottom), [OrbiterAnchorPoint.StartTop](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.StartTop), [OrbiterAnchorPoint.Start](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Start), [OrbiterAnchorPoint.TopEnd](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.TopEnd), [OrbiterAnchorPoint.TopStart](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.TopStart), [OrbiterAnchorPoint.Top](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Top)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` | **This class is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.BottomEnd` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.BottomStart` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Bottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.EndBottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.EndTop` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.End` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.StartBottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.StartTop` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Start` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.TopEnd` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.TopStart` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Top` | **This object is deprecated.** Use OrbiterPosition instead. |

Known indirect subclasses [OrbiterAnchorPoint.Absolute.BottomLeft](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.BottomLeft), [OrbiterAnchorPoint.Absolute.BottomRight](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.BottomRight), [OrbiterAnchorPoint.Absolute.LeftBottom](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.LeftBottom), [OrbiterAnchorPoint.Absolute.LeftTop](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.LeftTop), [OrbiterAnchorPoint.Absolute.Left](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.Left), [OrbiterAnchorPoint.Absolute.RightBottom](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.RightBottom), [OrbiterAnchorPoint.Absolute.RightTop](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.RightTop), [OrbiterAnchorPoint.Absolute.Right](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.Right), [OrbiterAnchorPoint.Absolute.TopLeft](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.TopLeft), [OrbiterAnchorPoint.Absolute.TopRight](https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.TopRight)

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.BottomLeft` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.BottomRight` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.LeftBottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.LeftTop` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.Left` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.RightBottom` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.RightTop` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.Right` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.TopLeft` | **This object is deprecated.** Use OrbiterPosition instead. |
| `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.TopRight` | **This object is deprecated.** Use OrbiterPosition instead. |

*** ** * ** ***

> [!CAUTION]
> **This class is deprecated.**   
> Use OrbiterPosition instead.

Represents an anchor point for an `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/Orbiter.composable#Orbiter(androidx.xr.compose.spatial.ContentEdge.Horizontal,androidx.compose.ui.unit.Dp,androidx.xr.compose.spatial.OrbiterOffsetType,androidx.compose.ui.Alignment.Horizontal,androidx.xr.compose.subspace.layout.SpatialShape,androidx.compose.ui.unit.Dp,kotlin.Boolean,kotlin.Function0)` relative to its target.

Each anchor point defines a specific location on the boundary of the target where the orbiter can be attached. The anchor points are sensitive to `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/LayoutDirection`, ensuring that concepts like "start" and "end" are correctly interpreted in both LTR and RTL contexts.

For layout direction-agnostic positioning, use the `https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` variants.

## Summary

| ### Nested types |
|---|
| `sealed class https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This class is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.BottomLeft : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.BottomRight : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.Left : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.LeftBottom : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.LeftTop : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.Right : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.RightBottom : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.RightTop : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.TopLeft : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute.TopRight : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Absolute` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Bottom : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.BottomEnd : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.BottomStart : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.End : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.EndBottom : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.EndTop : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Start : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.StartBottom : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.StartTop : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.Top : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.TopEnd : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |
| `object https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint.TopStart : https://developer.android.com/reference/kotlin/androidx/xr/compose/spatial/OrbiterAnchorPoint` **This object is deprecated.** Use OrbiterPosition instead. |