Share via


BitmapShader.FilterMode Property

Definition

Returns the filter mode used when sampling from this shader -or- Set the filter mode to be used when sampling from this shader.

public virtual int FilterMode { [Android.Runtime.Register("getFilterMode", "()I", "GetGetFilterModeHandler", ApiSince=33)] get; [Android.Runtime.Register("setFilterMode", "(I)V", "GetSetFilterMode_IHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("getFilterMode", "()I", "GetGetFilterModeHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setFilterMode", "(I)V", "GetSetFilterMode_IHandler", ApiSince=33)>]
member this.FilterMode : int with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the filter mode used when sampling from this shader

Java documentation for android.graphics.BitmapShader.getFilterMode().

Property setter documentation:

Set the filter mode to be used when sampling from this shader. If this is configured then the anisotropic filtering value specified in any previous call to #setMaxAnisotropy(int) is ignored.

Java documentation for android.graphics.BitmapShader.setFilterMode(int).

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