Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

PropertyValuesHolder

open class PropertyValuesHolder : Cloneable
kotlin.Any
   ↳ androidx.core.animation.PropertyValuesHolder

This class holds information about a property and the values that that property should take on during an animation. PropertyValuesHolder objects can be used to create animations with ValueAnimator or ObjectAnimator that operate on several different properties in parallel.

Summary

Public methods
open PropertyValuesHolder

open String

Gets the name of the property that will be animated.

open static PropertyValuesHolder
ofFloat(@NonNull propertyName: String, @NonNull vararg values: Float)

Constructs and returns a PropertyValuesHolder with a given property name and set of float values.

open static PropertyValuesHolder
ofFloat(@NonNull property: Property<*, Float!>, @NonNull vararg values: Float)

Constructs and returns a PropertyValuesHolder with a given property and set of float values.

open static PropertyValuesHolder
ofInt(@NonNull propertyName: String, @NonNull vararg values: Int)

Constructs and returns a PropertyValuesHolder with a given property name and set of int values.

open static PropertyValuesHolder
ofInt(@NonNull property: Property<*, Int!>, @NonNull vararg values: Int)

Constructs and returns a PropertyValuesHolder with a given property and set of int values.

open static PropertyValuesHolder
ofKeyframe(@NonNull propertyName: String, @NonNull vararg values: Keyframe<Any!>!)

Constructs and returns a PropertyValuesHolder object with the specified property name and set of values.

open static PropertyValuesHolder
ofKeyframe(@NonNull property: Property<Any!, Any!>, @NonNull vararg values: Keyframe<Any!>!)

Constructs and returns a PropertyValuesHolder object with the specified property and set of values.

open static PropertyValuesHolder
ofMultiFloat(@NonNull propertyName: String, @NonNull values: Array<FloatArray!>)

Constructs and returns a PropertyValuesHolder with a given property name and set of float[] values.

open static PropertyValuesHolder
ofMultiFloat(@NonNull propertyName: String, @NonNull path: Path)

Constructs and returns a PropertyValuesHolder with a given property name to use as a multi-float setter.

open static PropertyValuesHolder
ofMultiFloat(@NonNull propertyName: String, @NonNull converter: TypeConverter<V, FloatArray!>, @NonNull evaluator: TypeEvaluator<V>, @NonNull vararg values: V)

Constructs and returns a PropertyValuesHolder with a given property and set of Object values for use with ObjectAnimator multi-value setters.

open static PropertyValuesHolder
ofMultiFloat(@NonNull propertyName: String, @Nullable converter: TypeConverter<T, FloatArray!>?, @NonNull evaluator: TypeEvaluator<T>, @NonNull vararg values: Keyframe<Any!>!)

Constructs and returns a PropertyValuesHolder object with the specified property name or setter name for use in a multi-float setter function using ObjectAnimator.

open static PropertyValuesHolder
ofMultiInt(@NonNull propertyName: String, @NonNull values: Array<IntArray!>)

Constructs and returns a PropertyValuesHolder with a given property name and set of int[] values.

open static PropertyValuesHolder
ofMultiInt(@NonNull propertyName: String, @NonNull path: Path)

Constructs and returns a PropertyValuesHolder with a given property name to use as a multi-int setter.

open static PropertyValuesHolder
ofMultiInt(@NonNull propertyName: String, @NonNull converter: TypeConverter<V, IntArray!>, @NonNull evaluator: TypeEvaluator<V>, @NonNull vararg values: V)

Constructs and returns a PropertyValuesHolder with a given property and set of Object values for use with ObjectAnimator multi-value setters.

open static PropertyValuesHolder
ofMultiInt(@NonNull propertyName: String, @Nullable converter: TypeConverter<T, IntArray!>?, @NonNull evaluator: TypeEvaluator<T>, @NonNull vararg values: Keyframe<Any!>!)

Constructs and returns a PropertyValuesHolder object with the specified property name or setter name for use in a multi-int setter function using ObjectAnimator.

open static PropertyValuesHolder
ofObject(@NonNull propertyName: String, @NonNull evaluator: TypeEvaluator<Any!>, @NonNull vararg values: Any!)

Constructs and returns a PropertyValuesHolder with a given property name and set of Object values.

open static PropertyValuesHolder
ofObject(@NonNull propertyName: String, @Nullable converter: TypeConverter<PointF!, *>?, @NonNull path: Path)

Constructs and returns a PropertyValuesHolder with a given property name and a Path along which the values should be animated.

open static PropertyValuesHolder
ofObject(@NonNull property: Property<Any!, Any!>, @NonNull evaluator: TypeEvaluator<V>, @NonNull vararg values: V)

Constructs and returns a PropertyValuesHolder with a given property and set of Object values.

open static PropertyValuesHolder
ofObject(@NonNull property: Property<*, V>, @NonNull converter: TypeConverter<T, V>, @NonNull evaluator: TypeEvaluator<T>, @NonNull vararg