Google is committed to advancing racial equity for Black communities. See how.

VerticalAlignmentLine

class VerticalAlignmentLine : AlignmentLine
kotlin.Any
   ↳ androidx.compose.ui.layout.AlignmentLine
   ↳ androidx.compose.ui.layout.VerticalAlignmentLine

A vertical AlignmentLine. Defines a vertical offset line that can be used by parent layouts usually to align or position their children horizontally. The positions of the alignment lines will be automatically inherited by parent layouts from their content, and the merger will be used to merge multiple line positions when more than one child provides a specific AlignmentLine. See AlignmentLine for more details.

Summary

Public constructors
<init>(merger: (Int, Int) -> Int)

A vertical AlignmentLine.

Public constructors

<init>

VerticalAlignmentLine(merger: (Int, Int) -> Int)

A vertical AlignmentLine. Defines a vertical offset line that can be used by parent layouts usually to align or position their children horizontally. The positions of the alignment lines will be automatically inherited by parent layouts from their content, and the merger will be used to merge multiple line positions when more than one child provides a specific AlignmentLine. See AlignmentLine for more details.

Parameters
merger: (Int, Int) -> Int How to merge two alignment line values defined by different children