Source set: Common
interface MenuPositionScope
Provides context for calculating candidate menu positioning coordinates relative to window bounds.
Properties
anchorBounds
Source set: Common
val anchorBounds: IntRect
The bounds of the anchor relative to window layout bounds.
windowSize
Source set: Common
val windowSize: IntSize
The overall size of the hosting window.
menuSize
Source set: Common
val menuSize: IntSize
The calculated dimensions of the menu popup.
layoutDirection
Source set: Common
val layoutDirection: LayoutDirection
The current active layout direction (LTR or RTL).