Horizontal

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.

See also

Functions

Link copied to clipboard
abstract fun position(anchorBounds: IntRect, windowSize: IntSize, menuWidth: Int, layoutDirection: LayoutDirection): Int