🌈 Create new beautiful Compose Gradients with our new wesite ->
Interface

SpatialAlignment.Vertical

An interface to calculate the alignment of a box of a certain size inside an available height.

Source set: Android
public interface Vertical

An interface to calculate the alignment of a box of a certain size inside an available height.

Functions

align

Source set: Android
public fun align(size: Int, space: Int): Int

Provides the vertical alignment offset from the origin of the space to the origin of the content.

Parameters

size The content size in pixels.
space The available space in pixels.

Content updated: