BitmapShader.FilterModeLinear Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Graphics.BitmapShaderFilterMode enum directly instead of this field.
This FilterMode value will cause the shader to interpolate the output of the shader from a 2x2 grid of pixels nearest to the sample point (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
Field Value
Value = 2- Attributes
Remarks
This FilterMode value will cause the shader to interpolate the output of the shader from a 2x2 grid of pixels nearest to the sample point (i.e. bilinear interpolation).
This value will override the effect of Paint#isFilterBitmap.
Java documentation for android.graphics.BitmapShader.FILTER_MODE_LINEAR
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.