NinePatch Constructors

Definition

Overloads

NinePatch(Bitmap, Byte[])

Create a drawable projection from a bitmap to nine patches.

NinePatch(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

NinePatch(Bitmap, Byte[], String)

Create a drawable projection from a bitmap to nine patches.

NinePatch(Bitmap, Byte[])

Create a drawable projection from a bitmap to nine patches.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;[B)V", "", ApiSince=19)]
public NinePatch (Android.Graphics.Bitmap bitmap, byte[] chunk);
new Android.Graphics.NinePatch : Android.Graphics.Bitmap * byte[] -> Android.Graphics.NinePatch

Parameters

bitmap
Bitmap
chunk
Byte[]
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Applies to

NinePatch(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected NinePatch (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.NinePatch : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.NinePatch

Parameters

javaReference
IntPtr

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Applies to

NinePatch(Bitmap, Byte[], String)

Create a drawable projection from a bitmap to nine patches.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;[BLjava/lang/String;)V", "")]
public NinePatch (Android.Graphics.Bitmap bitmap, byte[] chunk, string srcName);
new Android.Graphics.NinePatch : Android.Graphics.Bitmap * byte[] * string -> Android.Graphics.NinePatch

Parameters

bitmap
Bitmap
chunk
Byte[]
srcName
String
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Applies to