語言

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

Java 文件 android.graphics.BitmapShader.FILTER_MODE_LINEAR。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於