Vertical

@Immutable
data class Vertical(val bias: Float) : Alignment.Vertical

The vertical half of a BiasAlignment; a vertical axis reads the same either way.

Constructors

Link copied to clipboard
constructor(bias: Float)

Properties

Link copied to clipboard
val bias: Float

The bias down the height available to the child.

Functions

Link copied to clipboard
open override fun align(size: Int, space: Int): Int

The child's offset from the top of space, for a child size tall.

Link copied to clipboard
open operator override fun plus(other: Alignment.Horizontal): Alignment

Combines this vertical placement with the horizontal other into a two-dimensional Alignment.