Bitmap.HasAlpha Bitmap.HasAlpha Property


Returns true if the bitmap's config supports per-pixel alpha, and if the pixels may contain non-opaque alpha values.

[get: Android.Runtime.Register("hasAlpha", "()Z", "GetHasAlphaHandler")]
[set: Android.Runtime.Register("setHasAlpha", "(Z)V", "GetSetHasAlpha_ZHandler", ApiSince=12)]
public bool HasAlpha { get; set; }
member this.HasAlpha : bool with get, set

Property Value


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