Compartir a través de


NinePatch.IsNinePatchChunk(Byte[]) Method

Definition

Verifies that the specified byte array is a valid 9-patch data chunk.

[Android.Runtime.Register("isNinePatchChunk", "([B)Z", "")]
public static bool IsNinePatchChunk (byte[]? chunk);
[<Android.Runtime.Register("isNinePatchChunk", "([B)Z", "")>]
static member IsNinePatchChunk : byte[] -> bool

Parameters

chunk
Byte[]

A byte array representing a 9-patch data chunk.

Returns

True if the specified byte array represents a 9-patch data chunk, false otherwise.

Attributes

Remarks

Verifies that the specified byte array is a valid 9-patch data chunk.

Java documentation for android.graphics.NinePatch.isNinePatchChunk(byte[]).

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