Langue

ColorSequence.Builder.SetInterpolationMode(Int32) Method

Definition

Sets the interpolation mode to use to transition between control point colors.

[Android.Runtime.Register("setInterpolationMode", "(I)Landroid/hardware/lights/ColorSequence$Builder;", "", ApiSince=37)]
public Android.Hardware.Lights.ColorSequence.Builder SetInterpolationMode(int interpolationMode);
[<Android.Runtime.Register("setInterpolationMode", "(I)Landroid/hardware/lights/ColorSequence$Builder;", "", ApiSince=37)>]
member this.SetInterpolationMode : int -> Android.Hardware.Lights.ColorSequence.Builder

Parameters

interpolationMode
Int32

specifying how to ramp the light between control points. Value is one of the following: ColorSequence.INTERPOLATION_MODE_NONE; ColorSequence.INTERPOLATION_MODE_LINEAR

Returns

Attributes

Remarks

Sets the interpolation mode to use to transition between control point colors.

By default, the builder configures the sequence with ColorSequence.INTERPOLATION_MODE_LINEAR.

Android reference for android.hardware.lights.ColorSequence.Builder.setInterpolationMode.

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