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

AnimationVector4D

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

This class defines a 4D vector that contains four Float fields for its four dimensions.

Summary

Public constructors
<init>(v1: Float, v2: Float, v3: Float, v4: Float)

This class defines a 4D vector that contains four Float fields for its four dimensions.

Public methods
Boolean
equals(other: Any?)

Int

String

Properties
Float

Float value field for the first dimension of the 4D vector.

Float

Float value field for the second dimension of the 4D vector.

Float

Float value field for the third dimension of the 4D vector.

Float

Float value field for the fourth dimension of the 4D vector.

Public constructors

<init>

AnimationVector4D(
    v1: Float,
    v2: Float,
    v3: Float,
    v4: Float)

This class defines a 4D vector that contains four Float fields for its four dimensions.

Parameters
v1: Float initial value to set on the first dimension
v2: Float initial value to set on the second dimension
v3: Float initial value to set on the third dimension
v4: Float initial value to set on the fourth dimension

Public methods

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String

Properties

v1

var v1: Float

Float value field for the first dimension of the 4D vector.

v2

var v2: Float

Float value field for the second dimension of the 4D vector.

v3

var v3: Float

Float value field for the third dimension of the 4D vector.

v4

var v4: Float

Float value field for the fourth dimension of the 4D vector.