语言

ColorSequence.InterpolationModeLinear 字段

定义

注意

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

控制点之间的线性内插。

[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

字段值

Value = 1

实现

特性

注解

控制点之间的线性内插。

在此内插模式下,从 color[n-1] 到 color[n] 的转换在 delayMillis[n] 毫秒之间以线性方式发生,颜色会更新每个帧。

每个颜色通道都独立内插。

Android 参考。android.hardware.lights.ColorSequence.INTERPOLATION_MODE_LINEAR

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于