PropertyValuesHolder.OfMultiInt Method

Definition

Overloads

OfMultiInt(String, TypeConverter, ITypeEvaluator, Object[])

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

OfMultiInt(String, TypeConverter, ITypeEvaluator, Keyframe[])

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

OfMultiInt(String, Path)

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

OfMultiInt(String, Int32[][])

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

OfMultiInt(String, TypeConverter, ITypeEvaluator, Object[])

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

[Android.Runtime.Register("ofMultiInt", "(Ljava/lang/String;Landroid/animation/TypeConverter;Landroid/animation/TypeEvaluator;[Ljava/lang/Object;)Landroid/animation/PropertyValuesHolder;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "V" })]
public static Android.Animation.PropertyValuesHolder? OfMultiInt (string? propertyName, Android.Animation.TypeConverter? converter, Android.Animation.ITypeEvaluator? evaluator, params Java.Lang.Object[]? values);
[<Android.Runtime.Register("ofMultiInt", "(Ljava/lang/String;Landroid/animation/TypeConverter;Landroid/animation/TypeEvaluator;[Ljava/lang/Object;)Landroid/animation/PropertyValuesHolder;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "V" })>]
static member OfMultiInt : string * Android.Animation.TypeConverter * Android.Animation.ITypeEvaluator * Java.Lang.Object[] -> Android.Animation.PropertyValuesHolder

Parameters

propertyName
String

The property being animated or complete name of the setter. Should not be null.

converter
TypeConverter

Used to convert the animated value to setter parameters.

evaluator
ITypeEvaluator

A TypeEvaluator that will be called on each animation frame to provide the necessary interpolation between the Object values to derive the animated value.

values
Object[]

The values that the property will animate between.

Returns

PropertyValuesHolder The constructed PropertyValuesHolder object.

Attributes

Remarks

Constructs and returns a PropertyValuesHolder with a given property and set of Object values for use with ObjectAnimator multi-value setters. The Object values are converted to int[] using the converter.

Java documentation for android.animation.PropertyValuesHolder.ofMultiInt(java.lang.String, android.animation.TypeConverter<V, int[]>, android.animation.TypeEvaluator<V>, V...).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

OfMultiInt(String, TypeConverter, ITypeEvaluator, Keyframe[])

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

[Android.Runtime.Register("ofMultiInt", "(Ljava/lang/String;Landroid/animation/TypeConverter;Landroid/animation/TypeEvaluator;[Landroid/animation/Keyframe;)Landroid/animation/PropertyValuesHolder;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Android.Animation.PropertyValuesHolder? OfMultiInt (string? propertyName, Android.Animation.TypeConverter? converter, Android.Animation.ITypeEvaluator? evaluator, params Android.Animation.Keyframe[]? values);
[<Android.Runtime.Register("ofMultiInt", "(Ljava/lang/String;Landroid/animation/TypeConverter;Landroid/animation/TypeEvaluator;[Landroid/animation/Keyframe;)Landroid/animation/PropertyValuesHolder;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member OfMultiInt : string * Android.Animation.TypeConverter * Android.Animation.ITypeEvaluator * Android.Animation.Keyframe[] -> Android.Animation.PropertyValuesHolder

Parameters

propertyName
String

The name of the property to associate with the set of values. This may also be the complete name of a setter function.

converter
TypeConverter

Converts <code>values</code> into int parameters for the setter. Can be null if the Keyframes have int[] values.

evaluator
ITypeEvaluator

Used to interpolate between values.

values
Keyframe[]

The values at specific fractional times to evaluate between

Returns

A PropertyValuesHolder for a multi-int parameter setter.

Attributes

Remarks

Java documentation for android.animation.PropertyValuesHolder.ofMultiInt(java.lang.String, android.animation.TypeConverter, android.animation.TypeEvaluator, android.animation.Keyframe).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

OfMultiInt(String, Path)

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

[Android.Runtime.Register("ofMultiInt", "(Ljava/lang/String;Landroid/graphics/Path;)Landroid/animation/PropertyValuesHolder;", "")]
public static Android.Animation.PropertyValuesHolder? OfMultiInt (string? propertyName, Android.Graphics.Path? path);
[<Android.Runtime.Register("ofMultiInt", "(Ljava/lang/String;Landroid/graphics/Path;)Landroid/animation/PropertyValuesHolder;", "")>]
static member OfMultiInt : string * Android.Graphics.Path -> Android.Animation.PropertyValuesHolder

Parameters

propertyName
String

The name of the property being animated. Can also be the case-sensitive name of the entire setter method. Should not be null. The setter must take exactly two int parameters.

path
Path

The Path along which the values should be animated.

Returns

PropertyValuesHolder The constructed PropertyValuesHolder object.

Attributes

Remarks

Constructs and returns a PropertyValuesHolder with a given property name to use as a multi-int setter. The values are animated along the path, with the first parameter of the setter set to the x coordinate and the second set to the y coordinate.

Java documentation for android.animation.PropertyValuesHolder.ofMultiInt(java.lang.String, android.graphics.Path).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

OfMultiInt(String, Int32[][])

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

[Android.Runtime.Register("ofMultiInt", "(Ljava/lang/String;[[I)Landroid/animation/PropertyValuesHolder;", "")]
public static Android.Animation.PropertyValuesHolder? OfMultiInt (string? propertyName, int[][]? values);
[<Android.Runtime.Register("ofMultiInt", "(Ljava/lang/String;[[I)Landroid/animation/PropertyValuesHolder;", "")>]
static member OfMultiInt : string * int[][] -> Android.Animation.PropertyValuesHolder

Parameters

propertyName
String

The name of the property being animated. Can also be the case-sensitive name of the entire setter method. Should not be null.

values
Int32[][]

The values that the property will animate between.

Returns

PropertyValuesHolder The constructed PropertyValuesHolder object.

Attributes

Remarks

Constructs and returns a PropertyValuesHolder with a given property name and set of int[] values. At least two int[] values must be supplied, a start and end value. If more values are supplied, the values will be animated from the start, through all intermediate values to the end value. When used with ObjectAnimator, the elements of the array represent the parameters of the setter function.

Java documentation for android.animation.PropertyValuesHolder.ofMultiInt(java.lang.String, int[][]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

  • <xref:Android.Animation.IntArrayEvaluator(System.Int32%5b%5d)>

Applies to