Android Guides | Samples

Android.Graphics.Drawables.NinePatchDrawable Constructor

Create drawable from raw nine-patch data, not dealing with density.

Syntax

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;[BLandroid/graphics/Rect;Ljava/lang/String;)V", "")]
public NinePatchDrawable (Bitmap bitmap, Byte[] chunk, Rect padding, String srcName)

Parameters

bitmap
chunk
padding
srcName

Remarks

Create drawable from raw nine-patch data, not dealing with density.

[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