Drawable.SetFilterBitmap(Boolean) Method

Definition

Set to true to have the drawable filter its bitmaps with bilinear sampling when they are scaled or rotated.

[Android.Runtime.Register("setFilterBitmap", "(Z)V", "GetSetFilterBitmap_ZHandler")]
public virtual void SetFilterBitmap (bool filter);
[<Android.Runtime.Register("setFilterBitmap", "(Z)V", "GetSetFilterBitmap_ZHandler")>]
abstract member SetFilterBitmap : bool -> unit
override this.SetFilterBitmap : bool -> unit

Parameters

filter
Boolean
Attributes

Remarks

Set to true to have the drawable filter its bitmaps with bilinear sampling when they are scaled or rotated.

This can improve appearance when bitmaps are rotated. If the drawable does not use bitmaps, this call is ignored.

Java documentation for android.graphics.drawable.Drawable.setFilterBitmap(boolean).

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

See also