Language

ColorSequence.InterpolationModeLinear Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Lights.InterpolationMode enum directly instead of this field.

Linear interpolation between control points.

[Android.Runtime.Register("INTERPOLATION_MODE_LINEAR", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Lights.InterpolationMode enum directly instead of this field.", true)]
public const Android.Hardware.Lights.InterpolationMode InterpolationModeLinear = 1;
[<Android.Runtime.Register("INTERPOLATION_MODE_LINEAR", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Lights.InterpolationMode enum directly instead of this field.", true)>]
val mutable InterpolationModeLinear : Android.Hardware.Lights.InterpolationMode

Field Value

Value = 1

Implements

Attributes

Remarks

Linear interpolation between control points.

With this interpolation mode, the transition from color[n-1] to color[n] happens linearly over delayMillis[n] milliseconds, with color updates every frame.

Each color channel is interpolated independently.

Android reference for android.hardware.lights.ColorSequence.INTERPOLATION_MODE_LINEAR.

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