CycleInterpolator 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 |
|---|---|
| CycleInterpolator(Single) |
Creates a sine-based interpolator with the specified number of cycles. |
| CycleInterpolator(Context, IAttributeSet) |
Creates a sine-based interpolator with a cycle count read from the supplied XML attributes. |
| CycleInterpolator(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
CycleInterpolator(Single)
Creates a sine-based interpolator with the specified number of cycles.
[Android.Runtime.Register(".ctor", "(F)V", "")]
public CycleInterpolator(float cycles);
[<Android.Runtime.Register(".ctor", "(F)V", "")>]
new Android.Views.Animations.CycleInterpolator : single -> Android.Views.Animations.CycleInterpolator
Parameters
- cycles
- Single
The number of sine-wave cycles over the input interval from 0 to 1.
- 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
CycleInterpolator(Context, IAttributeSet)
Creates a sine-based interpolator with a cycle count read from the supplied XML attributes.
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public CycleInterpolator(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.CycleInterpolator : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.CycleInterpolator
Parameters
- context
- Context
The context that supplies the resources and theme used to read the attributes.
- attrs
- IAttributeSet
The XML attributes that specify the number of cycles.
- 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
CycleInterpolator(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected CycleInterpolator(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.CycleInterpolator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.CycleInterpolator
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.