BitmapShader.FilterModeLinear 字段

定义

注意

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

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

[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 的效果。

适用于 . 的 android.graphics.BitmapShader.FILTER_MODE_LINEARJava 文档

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

适用于