SpatialAlignment.Horizontal

interface SpatialAlignment.Horizontal

Known direct subclasses
SpatialBiasAlignment.Horizontal

Creates a weighted alignment that specifies a horizontal bias.


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

Summary

Public functions

Int
offset(width: Int, space: Int)

Public functions

offset

Added in 1.0.0-alpha01
fun offset(width: Int, space: Int): Int
See also
horizontalOffset