SpatialBiasAlignment.Horizontal

class SpatialBiasAlignment.Horizontal : SpatialAlignment.Horizontal


Creates a weighted alignment that specifies a horizontal bias.

Summary

Public constructors

Public functions

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

Public properties

Float

Must be within the range of -1, 1 with -1 being left and 1 being right.

Public constructors

Horizontal

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

Must be within the range of -1, 1 with -1 being left and 1 being right.

Public functions

copy

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

equals

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

hashCode

open fun hashCode(): Int

offset

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

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 left and 1 being right.