# PaneExpansionAnchor.Offset.Direction

# PaneExpansionAnchor.Offset.Direction

Artifact:[androidx.compose.material3.adaptive:adaptive-layout](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive)  
[View Source](https://cs.android.com/search?q=file:androidx/compose/material3/adaptive/layout/PaneExpansionState.kt+class:androidx.compose.material3.adaptive.layout.PaneExpansionAnchor.Offset.Direction)  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0)
Common/All
  - Cmn  

  ```
  value class PaneExpansionAnchor.Offset.Direction
  ```

*** ** * ** ***

Represents the direction from where the offset will be calculated.

## Summary

|                                                                    ### Public companion properties                                                                     |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|
| [PaneExpansionAnchor.Offset.Direction](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneExpansionAnchor.Offset.Direction) | [FromEnd](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneExpansionAnchor.Offset.Direction#FromEnd()) Indicates the offset will be calculated from the end.       | Cmn |
| [PaneExpansionAnchor.Offset.Direction](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneExpansionAnchor.Offset.Direction) | [FromStart](https://developer.android.com/reference/kotlin/androidx/compose/material3/adaptive/layout/PaneExpansionAnchor.Offset.Direction#FromStart()) Indicates the offset will be calculated from the start. | Cmn |

## Public companion properties

### FromEnd

Cmn  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0)  

```
val FromEnd: PaneExpansionAnchor.Offset.Direction
```

Indicates the offset will be calculated from the end. For example, if the offset is 150.dp, the resulted anchor will be at the position that is 150dp away from the end side of the associated layout.  

### FromStart

Cmn  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-material3-adaptive#1.1.0)  

```
val FromStart: PaneExpansionAnchor.Offset.Direction
```

Indicates the offset will be calculated from the start. For example, if the offset is 150.dp, the resulted anchor will be at the position that is 150dp away from the start side of the associated layout.