---
title: "VerticalAlignmentLine"
description: "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."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


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


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 | How to merge two alignment line values defined by different children |




