共用方式為


NinePatch.HasAlpha Property

Definition

Indicates whether this NinePatch contains transparent or translucent pixels.

public bool HasAlpha { [Android.Runtime.Register("hasAlpha", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasAlpha", "()Z", "")>]
member this.HasAlpha : bool

Property Value

Attributes

Remarks

Indicates whether this NinePatch contains transparent or translucent pixels. This is equivalent to calling getBitmap().hasAlpha() on this NinePatch.

Java documentation for android.graphics.NinePatch.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.

Applies to