Interface

MenuPosition.Vertical

An interface to calculate the vertical position of a menu with respect to its anchor and window.

Source set: Common
fun interface Vertical

An interface to calculate the vertical position of a menu with respect to its anchor and window. The returned y-coordinate is relative to the window.

Functions

position

fun position(anchorBounds: IntRect, windowSize: IntSize, menuHeight: Int): Int

Last updated: