Interface

SpatialAlignment.Vertical

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
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.