Common
fun interface Horizontal
An interface to calculate the horizontal position of a menu with respect to its anchor, window, and layout direction. The returned x-coordinate is relative to the window.
Functions
position
fun position(
anchorBounds: IntRect,
windowSize: IntSize,
menuWidth: Int,
layoutDirection: LayoutDirection,
): Int