---
title: "MenuPositionScope"
description: "Provides context for calculating candidate menu positioning coordinates relative to window bounds."
type: "interface"
lastmod: "2026-06-18T10:32:53.368178Z"
---
## API Reference

> Source set: Common

```kotlin
interface MenuPositionScope
```

Provides context for calculating candidate menu positioning coordinates relative to window
bounds.

## Properties

### anchorBounds

> Source set: Common

```kotlin
val anchorBounds: IntRect
```

The bounds of the anchor relative to window layout bounds.

### windowSize

> Source set: Common

```kotlin
val windowSize: IntSize
```

The overall size of the hosting window.

### menuSize

> Source set: Common

```kotlin
val menuSize: IntSize
```

The calculated dimensions of the menu popup.

### layoutDirection

> Source set: Common

```kotlin
val layoutDirection: LayoutDirection
```

The current active layout direction (LTR or RTL).
