Share via


ObjectAnimator.OfMultiInt Method

Definition

Overloads

OfMultiInt(Object, String, Path)

Constructs and returns an ObjectAnimator that animates the target using a multi-int setter along the given Path.

OfMultiInt(Object, String, Int32[][])

Constructs and returns an ObjectAnimator that animates over int values for a multiple parameters setter.

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

Constructs and returns an ObjectAnimator that animates over values for a multiple int parameters setter.

OfMultiInt(Object, String, Path)

Constructs and returns an ObjectAnimator that animates the target using a multi-int setter along the given Path.

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

Parameters

target
Object

The object whose property is to be animated. This object may have a public method on it called setName(), where name is the value of the propertyName parameter. propertyName may also be the case-sensitive complete name of the public setter method.

propertyName
String

The name of the property being animated or the name of the setter method.

path
Path

The Path to animate values along.

Returns

An ObjectAnimator object that is set up to animate along path.

Attributes

Remarks

Constructs and returns an ObjectAnimator that animates the target using a multi-int setter along the given Path. A Path</> animation moves in two dimensions, animating coordinates (x, y) together to follow the line. In this variation, the coordinates are integer x and y coordinates used in the first and second parameter of the setter, respectively.

Java documentation for android.animation.ObjectAnimator.ofMultiInt(java.lang.Object, 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(Object, String, Int32[][])

Constructs and returns an ObjectAnimator that animates over int values for a multiple parameters setter.

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

Parameters

target
Object

The object whose property is to be animated. This object may have a public method on it called setName(), where name is the value of the propertyName parameter. propertyName may also be the case-sensitive complete name of the public setter method.

propertyName
String

The name of the property being animated or the name of the setter method.

values
Int32[][]

A set of values that the animation will animate between over time.

Returns

An ObjectAnimator object that is set up to animate between the given values.

Attributes

Remarks

Constructs and returns an ObjectAnimator that animates over int values for a multiple parameters setter. Only public methods that take only int parameters are supported. Each int[] contains a complete set of parameters to the setter method. At least two int[] values must be provided, a start and end. More than two values imply a starting value, values to animate through along the way, and an ending value (these values will be distributed evenly across the duration of the animation).

Java documentation for android.animation.ObjectAnimator.ofMultiInt(java.lang.Object, 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.

Applies to

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

Constructs and returns an ObjectAnimator that animates over values for a multiple int parameters setter.

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

Parameters

target
Object

The object whose property is to be animated. This object may have a public method on it called setName(), where name is the value of the propertyName parameter. propertyName may also be the case-sensitive complete name of the public setter method.

propertyName
String

The name of the property being animated or the name of the setter method.

converter
TypeConverter

Converts T objects into int parameters for the multi-value setter.

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[]

A set of values that the animation will animate between over time.

Returns

An ObjectAnimator object that is set up to animate between the given values.

Attributes

Remarks

Constructs and returns an ObjectAnimator that animates over values for a multiple int parameters setter. Only public methods that take only int parameters are supported.

At least two values must be provided, a start and end. More than two values imply a starting value, values to animate through along the way, and an ending value (these values will be distributed evenly across the duration of the animation).

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

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