Android Guides | Samples

Android.Graphics.Interpolator Class

See Also: Interpolator

Syntax

[Android.Runtime.Register("android/graphics/Interpolator", DoNotGenerateAcw=true)]
public class Interpolator : Object

Remarks

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Graphics.Interpolator are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
KeyFrameCountInt32.
[read-only]
ValueCountInt32.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Reset(Int32)
Reset the Interpolator to have the specified number of values and an implicit keyFrame count of 2 (just a start and end).
Reset(Int32, Int32)
Reset the Interpolator to have the specified number of values and keyFrames.
SetKeyFrame(Int32, Int32, Single[])
Assign the keyFrame (specified by index) a time value and an array of key values (with an implicity blend array of [0, 0, 1, 1] giving linear transition to the next set of key values).
SetKeyFrame(Int32, Int32, Single[], Single[])
Assign the keyFrame (specified by index) a time value and an array of key values and blend array.
SetRepeatMirror(Single, Boolean)
Set a repeat count (which may be fractional) for the interpolator, and whether the interpolator should mirror its repeats.
TimeToValues(Single[]) : Interpolator+Result
Calls timeToValues(msec, values) with the msec set to now (by calling (int)SystemClock.uptimeMillis().
TimeToValues(Int32, Single[]) : Interpolator+Result
Given a millisecond time value (msec), return the interpolated values and return whether the specified time was within the range of key times (NORMAL), was before the first key time (FREEZE_START) or after the last key time (FREEZE_END).