语言

BitmapShader.FilterModeLinear 字段

定义

注意

This constant will be removed in the future version. Use Android.Graphics.BitmapShaderFilterMode enum directly instead of this field.

此 FilterMode 值将导致着色器将着色器的输出从距离样本点最近的 2x2 网格(即双线性内插)内插。

[Android.Runtime.Register("FILTER_MODE_LINEAR", ApiSince=33)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.BitmapShaderFilterMode enum directly instead of this field.", true)]
public const Android.Graphics.BitmapShaderFilterMode FilterModeLinear = 2;
[<Android.Runtime.Register("FILTER_MODE_LINEAR", ApiSince=33)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.BitmapShaderFilterMode enum directly instead of this field.", true)>]
val mutable FilterModeLinear : Android.Graphics.BitmapShaderFilterMode

字段值

Value = 2
特性

注解

此 FilterMode 值将导致着色器将着色器的输出从距离样本点最近的 2x2 网格(即双线性内插)内插。

此值将替代 Paint#isFilterBitmap 的效果。

Java文档android.graphics.BitmapShader.FILTER_MODE_LINEAR。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于