Interface

MenuPosition.Vertical

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
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