Freigeben über


PropertyValuesHolder.OfInt Method

Definition

Overloads

OfInt(Property, Int32[])

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

OfInt(String, Int32[])

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

OfInt(Property, Int32[])

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

[Android.Runtime.Register("ofInt", "(Landroid/util/Property;[I)Landroid/animation/PropertyValuesHolder;", "")]
public static Android.Animation.PropertyValuesHolder? OfInt (Android.Util.Property? property, params int[]? values);
[<Android.Runtime.Register("ofInt", "(Landroid/util/Property;[I)Landroid/animation/PropertyValuesHolder;", "")>]
static member OfInt : Android.Util.Property * int[] -> Android.Animation.PropertyValuesHolder

Parameters

property
Property

The property being animated. 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 and set of int values.

Java documentation for android.animation.PropertyValuesHolder.ofInt(android.util.Property<?, java.lang.Integer>, 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

OfInt(String, Int32[])

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

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

Parameters

propertyName
String

The name of the property being animated.

values
Int32[]

The values that the named 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.

Java documentation for android.animation.PropertyValuesHolder.ofInt(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