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

Vertical

@Immutable interface Vertical
androidx.compose.ui.Alignment.Vertical

An interface that positions a point on a 1D vertical finite line. Alignment.Vertical is often used to define the vertical alignment of a box inside a parent container.

Summary

Public methods
abstract Int
align(size: Int)

Returns the position of a 1D point in a container of a given size, according to this Alignment.

Public methods

align

abstract fun align(size: Int): Int

Returns the position of a 1D point in a container of a given size, according to this Alignment.