Android Guides | Samples

Android.Graphics.Drawables.NinePatchDrawable.Opacity Property

Returns a PixelFormat value of OPAQUE or TRANSLUCENT.

Syntax

[get: Android.Runtime.Register("getOpacity", "()I", "GetGetOpacityHandler")]
public override Int32 Opacity { get; }

Remarks

Returns a PixelFormat value of OPAQUE or TRANSLUCENT.

[Android Documentation]

Requirements

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