AnticipateInterpolator Constructors
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
| Name | Description |
|---|---|
| AnticipateInterpolator() |
Creates an anticipation interpolator with a tension of 2. |
| AnticipateInterpolator(Single) |
Creates an anticipation interpolator with the specified tension. |
| AnticipateInterpolator(Context, IAttributeSet) |
Creates an anticipation interpolator with tension read from the supplied XML attributes. |
| AnticipateInterpolator(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
AnticipateInterpolator()
Creates an anticipation interpolator with a tension of 2.
[Android.Runtime.Register(".ctor", "()V", "")]
public AnticipateInterpolator();
- Attributes
Remarks
Java documentation for android.view.animation.AnticipateInterpolator.AnticipateInterpolator(float).
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
AnticipateInterpolator(Single)
Creates an anticipation interpolator with the specified tension.
[Android.Runtime.Register(".ctor", "(F)V", "")]
public AnticipateInterpolator(float tension);
[<Android.Runtime.Register(".ctor", "(F)V", "")>]
new Android.Views.Animations.AnticipateInterpolator : single -> Android.Views.Animations.AnticipateInterpolator
Parameters
- tension
- Single
Amount of anticipation. When tension equals 0.0f, there is no anticipation and the interpolator becomes a simple acceleration interpolator.
- Attributes
Remarks
Java documentation for android.view.animation.AnticipateInterpolator.AnticipateInterpolator(float).
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
AnticipateInterpolator(Context, IAttributeSet)
Creates an anticipation interpolator with tension read from the supplied XML attributes.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public AnticipateInterpolator(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.AnticipateInterpolator : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.AnticipateInterpolator
Parameters
- context
- Context
The context that supplies the resources and theme used to read the attributes.
- attrs
- IAttributeSet
The XML attributes that specify the anticipation tension.
- Attributes
Remarks
Java documentation for android.view.animation.AnticipateInterpolator.AnticipateInterpolator(float).
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
AnticipateInterpolator(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected AnticipateInterpolator(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.AnticipateInterpolator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.AnticipateInterpolator
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
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.