语言

BitmapShader.FilterModeNearest 字段

定义

注意

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

此 FilterMode 值将导致着色器从最近的像素采样到请求的示例点。

[Android.Runtime.Register("FILTER_MODE_NEAREST", 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 FilterModeNearest = 1;
[<Android.Runtime.Register("FILTER_MODE_NEAREST", 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 FilterModeNearest : Android.Graphics.BitmapShaderFilterMode

字段值

Value = 1
特性

注解

此 FilterMode 值将导致着色器从最近的像素采样到请求的示例点。

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

Java文档android.graphics.BitmapShader.FILTER_MODE_NEAREST。

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

适用于