Shape.HasAlpha Property
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.
Checks whether the Shape is opaque.
public virtual bool HasAlpha { [Android.Runtime.Register("hasAlpha", "()Z", "GetHasAlphaHandler")] get; }
[<get: Android.Runtime.Register("hasAlpha", "()Z", "GetHasAlphaHandler")>]
member this.HasAlpha : bool
Property Value
true if any part of the drawable is <em>not</em> opaque.
- Attributes
Remarks
Checks whether the Shape is opaque.
Default impl returns true
. Override if your subclass can be opaque.
Java documentation for android.graphics.drawable.shapes.Shape.hasAlpha()
.
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.