Android Guides | Samples

Android.Graphics.Bitmap.HasMipMap Property

Indicates whether the renderer responsible for drawing this bitmap should attempt to use mipmaps when this bitmap is drawn scaled down.

Syntax

[get: Android.Runtime.Register("hasMipMap", "()Z", "GetHasMipMapHandler")]
[set: Android.Runtime.Register("setHasMipMap", "(Z)V", "GetSetHasMipMap_ZHandler")]
public Boolean HasMipMap { get; set; }

See Also

Remarks

Get method documentation[Android Documentation]
Indicates whether the renderer responsible for drawing this bitmap should attempt to use mipmaps when this bitmap is drawn scaled down. If you know that you are going to draw this bitmap at less than 50% of its original size, you may be able to obtain a higher quality This property is only a suggestion that can be ignored by the renderer. It is not guaranteed to have any effect.

Set method documentation[Android Documentation]
Set a hint for the renderer responsible for drawing this bitmap indicating that it should attempt to use mipmaps when this bitmap is drawn scaled down. If you know that you are going to draw this bitmap at less than 50% of its original size, you may be able to obtain a higher quality by turning this property on. Note that if the renderer respects this hint it might have to allocate extra memory to hold the mipmap levels for this bitmap. This property is only a suggestion that can be ignored by the renderer. It is not guaranteed to have any effect.

Requirements

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