ObjectAnimator.OfInt Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| OfInt(Object, Property, Int32[]) |
Constructs and returns an ObjectAnimator that animates between int values. |
| OfInt(Object, String, Int32[]) |
Constructs and returns an ObjectAnimator that animates between int values. |
| OfInt(Object, Property, Property, Path) |
Constructs and returns an ObjectAnimator that animates coordinates along a <code>Path</code> using two properties. |
| OfInt(Object, String, String, Path) |
Constructs and returns an ObjectAnimator that animates coordinates along a <code>Path</code> using two properties. |
OfInt(Object, Property, Int32[])
Constructs and returns an ObjectAnimator that animates between int values.
[Android.Runtime.Register("ofInt", "(Ljava/lang/Object;Landroid/util/Property;[I)Landroid/animation/ObjectAnimator;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Android.Animation.ObjectAnimator? OfInt (Java.Lang.Object? target, Android.Util.Property? property, params int[]? values);
[<Android.Runtime.Register("ofInt", "(Ljava/lang/Object;Landroid/util/Property;[I)Landroid/animation/ObjectAnimator;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member OfInt : Java.Lang.Object * Android.Util.Property * int[] -> Android.Animation.ObjectAnimator
Parameters
- target
- Object
The object whose property is to be animated.
- property
- Property
The property being animated.
- 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
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(Object, String, Int32[])
Constructs and returns an ObjectAnimator that animates between int values.
[Android.Runtime.Register("ofInt", "(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;", "")]
public static Android.Animation.ObjectAnimator? OfInt (Java.Lang.Object? target, string? propertyName, params int[]? values);
[<Android.Runtime.Register("ofInt", "(Ljava/lang/Object;Ljava/lang/String;[I)Landroid/animation/ObjectAnimator;", "")>]
static member OfInt : Java.Lang.Object * string * int[] -> Android.Animation.ObjectAnimator
Parameters
- target
- Object
The object whose property is to be animated. This object should have a public method on it called <code>setName()</code>, where <code>name</code> is the value of the <code>propertyName</code> parameter.
- propertyName
- String
The name of the property being animated.
- 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
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(Object, Property, Property, Path)
Constructs and returns an ObjectAnimator that animates coordinates along a <code>Path</code> using two properties.
[Android.Runtime.Register("ofInt", "(Ljava/lang/Object;Landroid/util/Property;Landroid/util/Property;Landroid/graphics/Path;)Landroid/animation/ObjectAnimator;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Android.Animation.ObjectAnimator? OfInt (Java.Lang.Object? target, Android.Util.Property? xProperty, Android.Util.Property? yProperty, Android.Graphics.Path? path);
[<Android.Runtime.Register("ofInt", "(Ljava/lang/Object;Landroid/util/Property;Landroid/util/Property;Landroid/graphics/Path;)Landroid/animation/ObjectAnimator;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member OfInt : Java.Lang.Object * Android.Util.Property * Android.Util.Property * Android.Graphics.Path -> Android.Animation.ObjectAnimator
Parameters
- target
- Object
The object whose properties are to be animated.
- xProperty
- Property
The property for the x coordinate being animated.
- yProperty
- Property
The property for the y coordinate being animated.
- path
- Path
The <code>Path</code> to animate values along.
Returns
An ObjectAnimator object that is set up to animate along <code>path</code>.
- Attributes
Remarks
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(Object, String, String, Path)
Constructs and returns an ObjectAnimator that animates coordinates along a <code>Path</code> using two properties.
[Android.Runtime.Register("ofInt", "(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Landroid/graphics/Path;)Landroid/animation/ObjectAnimator;", "")]
public static Android.Animation.ObjectAnimator? OfInt (Java.Lang.Object? target, string? xPropertyName, string? yPropertyName, Android.Graphics.Path? path);
[<Android.Runtime.Register("ofInt", "(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Landroid/graphics/Path;)Landroid/animation/ObjectAnimator;", "")>]
static member OfInt : Java.Lang.Object * string * string * Android.Graphics.Path -> Android.Animation.ObjectAnimator
Parameters
- target
- Object
The object whose properties are to be animated. This object should have public methods on it called <code>setNameX()</code> and <code>setNameY</code>, where <code>nameX</code> and <code>nameY</code> are the value of <code>xPropertyName</code> and <code>yPropertyName</code> parameters, respectively.
- xPropertyName
- String
The name of the property for the x coordinate being animated.
- yPropertyName
- String
The name of the property for the y coordinate being animated.
- path
- Path
The <code>Path</code> to animate values along.
Returns
An ObjectAnimator object that is set up to animate along <code>path</code>.
- Attributes
Remarks
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.