Common
data class Horizontal(
private val menuAlignment: Alignment.Horizontal,
private val anchorAlignment: Alignment.Horizontal,
private val offset: Int,
) : MenuPosition.Horizontal
A MenuPosition.Horizontal which horizontally aligns the given menuAlignment with the given anchorAlignment.
The given offset is LayoutDirection-aware. It will be added to the resulting x position for LayoutDirection.Ltr and subtracted for LayoutDirection.Rtl.