toAlignment
Converts the wire-format AlignmentSchema.Vertical into its Compose Alignment.Vertical counterpart — used by any renderer applying alignVerticallyToX().
Converts the wire-format AlignmentSchema.Horizontal into its Compose Alignment.Horizontal counterpart — used by any renderer applying alignHorizontallyToX().
Converts the wire-format AlignmentSchema.TwoDimensional into its Compose Alignment counterpart — used by Box/AsyncImage/Popup and any other tile taking a 2D alignment.