Google is committed to advancing racial equity for Black communities. See how.

AnimationVector1D

class AnimationVector1D : AnimationVector
kotlin.Any
   ↳ androidx.animation.AnimationVector
   ↳ androidx.animation.AnimationVector1D

This class defines a 1D vector. It contains only one Float value that is initialized in the constructor.

Summary

Public constructors
<init>(initVal: Float)

This class defines a 1D vector.

Public methods
Boolean
equals(other: Any?)

Int

String

Properties
Float

This field holds the only Float value in this AnimationVector1D object.

Public constructors

<init>

AnimationVector1D(initVal: Float)

This class defines a 1D vector. It contains only one Float value that is initialized in the constructor.

Parameters
initVal: Float initial value to set the value field to.

Public methods

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String

Properties

value

var value: Float

This field holds the only Float value in this AnimationVector1D object.