Android.Graphics.Drawables.NinePatchDrawable Members

The members of Android.Graphics.Drawables.NinePatchDrawable are listed below.

See Also: Inherited members from Android.Graphics.Drawables.Drawable

Public Constructors

Create drawable from existing nine-patch, not dealing with density.
Create drawable from existing nine-patch, setting initial target density based on the display metrics of the resources.
Create drawable from raw nine-patch data, not dealing with density.
Create drawable from raw nine-patch data, setting initial target density based on the display metrics of the resources.

Protected Constructors

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

Public Properties

[read-only]
override
Opacityint. Returns a Android.Graphics.PixelFormat value of OPAQUE or TRANSLUCENT.
[read-only]
PaintAndroid.Graphics.Paint.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

override
Draw(Android.Graphics.Canvas)
Draw in its bounds (set via setBounds) respecting optional effects such as alpha (set via setAlpha) and color filter (set via setColorFilter).
override
SetAlpha(int)
Specify an alpha value for the drawable. 0 means fully transparent, and 255 means fully opaque.
override
SetColorFilter(Android.Graphics.ColorFilter)
Specify an optional color filter for the drawable.
SetTargetDensity(Android.Graphics.Canvas)
Set the density scale at which this drawable will be rendered.
SetTargetDensity(Android.Util.DisplayMetrics)
Set the density scale at which this drawable will be rendered.
SetTargetDensity(int)
Set the density at which this drawable will be rendered.