androidx.compose.ui.layout

VerticalAlignmentLine

Class · from org.jetbrains.compose.ui:ui:1.12.2

No hand-written docs yet.

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.

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

Is a

How to get one

Create it

Ready-made values and functions that return it

Used by

Parameters that take a VerticalAlignmentLine.

Library docs

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.