Android Guides | Samples

Android.Graphics.Drawables.Drawable.SetFilterBitmap Method

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

Syntax

[Android.Runtime.Register("setFilterBitmap", "(Z)V", "GetSetFilterBitmap_ZHandler")]
public virtual Void SetFilterBitmap (Boolean filter)

See Also

Parameters

filter

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.

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1