Interface

SpatialAlignment.Vertical

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

Source set: Android
public interface Vertical

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

Functions

offset

public fun offset(height: Int, space: Int): Int

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

Parameters

height The content height in pixels.
space The available space in pixels.

Last updated: