<div class='sourceset sourceset-common'>Common</div>

```kotlin
abstract class Offset internal constructor(val offset: Dp, override internal val type: Int) :
        PaneExpansionAnchor()
```

[PaneExpansionAnchor](/jetpack-compose/androidx.compose.material3.adaptive/adaptive-layout/classes/PaneExpansionAnchor) implementation that specifies the anchor position based on the offset
in `Dp`.

## Properties

<div class='sourceset sourceset-common'>Common</div>

```kotlin
val direction: Direction
```

Indicates the direction of the offset.

## Companion Object

#### Methods

<h2 id="fromstart-offset">fromStart</h2>

<div class='sourceset sourceset-common'>Common</div>

```kotlin
fun fromStart(offset: Dp): Offset
```

Create an [androidx.compose.material3.adaptive.layout.PaneExpansionAnchor.Offset](/jetpack-compose/androidx.compose.material3.adaptive/adaptive-layout/classes/PaneExpansionAnchor.Offset)
anchor from the start side of the layout.

#### Parameters

| | |
| --- | --- |
| offset | offset to be used in `Dp`. |

<hr class="docs-overload-divider">

<h2 id="fromend-offset">fromEnd</h2>

<div class='sourceset sourceset-common'>Common</div>

```kotlin
fun fromEnd(offset: Dp): Offset
```

Create an [androidx.compose.material3.adaptive.layout.PaneExpansionAnchor.Offset](/jetpack-compose/androidx.compose.material3.adaptive/adaptive-layout/classes/PaneExpansionAnchor.Offset)
anchor from the end side of the layout.

#### Parameters

| | |
| --- | --- |
| offset | offset to be used in `Dp`. |