Taal

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

None or Linear, cast to int, specifying how to change the light between control points.

Returns

This builder with the interpolation mode set.

Attributes

Remarks

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

By default, the builder uses 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