Android.Graphics.NinePatch Class
The NinePatch class permits drawing a bitmap in nine or more sections.

See Also: NinePatch Members

Syntax

[Android.Runtime.Register("android/graphics/NinePatch", DoNotGenerateAcw=true)]
public class NinePatch : Java.Lang.Object

Remarks

The NinePatch class permits drawing a bitmap in nine or more sections. Essentially, it allows the creation of custom graphics that will scale the way that you define, when content added within the image exceeds the normal bounds of the graphic. For a thorough explanation of a NinePatch image, read the discussion in the 2D Graphics document.

The Draw 9-Patch tool offers an extremely handy way to create your NinePatch images, using a WYSIWYG graphics editor.

[Android Documentation]

Requirements

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