Condividi tramite


BitmapShader.FilterModeDefault Field

Definition

Caution

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

This FilterMode value will respect the value of the Paint#isFilterBitmap flag while the shader is attached to the Paint.

[Android.Runtime.Register("FILTER_MODE_DEFAULT", 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 FilterModeDefault = 0;
[<Android.Runtime.Register("FILTER_MODE_DEFAULT", 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 FilterModeDefault : Android.Graphics.BitmapShaderFilterMode

Field Value

Value = 0
Attributes

Remarks

This FilterMode value will respect the value of the Paint#isFilterBitmap flag while the shader is attached to the Paint.

The exception to this rule is when a Shader is attached as input to a RuntimeShader. In that case this mode will default to FILTER_MODE_NEAREST.

Java documentation for android.graphics.BitmapShader.FILTER_MODE_DEFAULT.

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.

Applies to