SpatialBiasAlignment.Vertical

class SpatialBiasAlignment.Vertical : SpatialAlignment.Vertical


Creates a weighted alignment that specifies a vertical bias.

Summary

Public constructors

Vertical(bias: Float)

Public functions

SpatialBiasAlignment.Vertical
copy(bias: Float)
open operator Boolean
equals(other: Any?)
open Int
open Int
offset(height: Int, space: Int)
open String

Public properties

Float

Must be within the range of -1, 1 with -1 being bottom and 1 being top.

Public constructors

Vertical

Added in 1.0.0-alpha01
Vertical(bias: Float)
Parameters
bias: Float

Must be within the range of -1, 1 with -1 being bottom and 1 being top.

Public functions

copy

Added in 1.0.0-alpha01
fun copy(bias: Float = this.bias): SpatialBiasAlignment.Vertical

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

offset

Added in 1.0.0-alpha01
open fun offset(height: Int, space: Int): Int
See also
verticalOffset

toString

open fun toString(): String

Public properties

bias

Added in 1.0.0-alpha01
val biasFloat

Must be within the range of -1, 1 with -1 being bottom and 1 being top.