Source set: Android
public class Vertical(@param:FloatRange(-1.0, 1.0) public val verticalBias: Float) :
SpatialAlignment.Vertical
Creates a weighted alignment that specifies a vertical bias.
Parameters
| verticalBias | Must be within the range of [-1, 1] with -1 being bottom and 1 being top. |
Functions
align
Source set: Android
override fun align(size: Int, space: Int): Int
equals
Source set: Android
override fun equals(other: Any?): Boolean
hashCode
Source set: Android
override fun hashCode(): Int
toString
Source set: Android
override fun toString(): String
copy
Source set: Android
public fun copy(bias: Float = this.verticalBias): Vertical