Class

AnimationVector1D

This class defines a 1D vector.

Source set: Common
public class AnimationVector1D(initVal: Float) : AnimationVector()

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

Parameters

initVal initial value to set the value field to.

Properties

value

Source set: Common
public var value: Float = initVal

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

size

Source set: Common
override val size: Int = 1

Functions

reset

Source set: Common
override fun reset()

newVector

Source set: Common
override fun newVector(): AnimationVector1D

get

Source set: Common
override fun get(index: Int): Float

set

Source set: Common
override fun set(index: Int, value: Float)

toString

Source set: Common
override fun toString(): String

equals

Source set: Common
override fun equals(other: Any?): Boolean

hashCode

Source set: Common
override fun hashCode(): Int
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: