Android.Graphics.Drawables.NinePatchDrawable.SetTargetDensity Method
Set the density at which this drawable will be rendered.

Syntax

[Android.Runtime.Register("setTargetDensity", "(I)V", "GetSetTargetDensity_IHandler")]
public virtual void SetTargetDensity (int density)

See Also

Android.Graphics.Bitmap.Density
Android.Graphics.Bitmap.Density

Parameters

density
The density scale for this drawable.

Remarks

Set the density at which this drawable will be rendered.

[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 4