Compartir a través de


BitmapDrawable.SetMipMap(Boolean) Method

Definition

Enables or disables the mipmap hint for this drawable's bitmap.

[Android.Runtime.Register("setMipMap", "(Z)V", "GetSetMipMap_ZHandler")]
public virtual void SetMipMap (bool mipMap);
[<Android.Runtime.Register("setMipMap", "(Z)V", "GetSetMipMap_ZHandler")>]
abstract member SetMipMap : bool -> unit
override this.SetMipMap : bool -> unit

Parameters

mipMap
Boolean

True if the bitmap should use mipmaps, false otherwise.

Attributes

Remarks

Enables or disables the mipmap hint for this drawable's bitmap. See Bitmap#setHasMipMap(boolean) for more information.

If the bitmap is null calling this method has no effect.

Java documentation for android.graphics.drawable.BitmapDrawable.setMipMap(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