Drawable.SetFilterBitmap(Boolean) Method
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.
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.