NinePatch.Density Property

Definition

Return the underlying bitmap's density, as per Bitmap#getDensity() Bitmap.getDensity().

public virtual int Density { [Android.Runtime.Register("getDensity", "()I", "GetGetDensityHandler")] get; }
[<get: Android.Runtime.Register("getDensity", "()I", "GetGetDensityHandler")>]
member this.Density : int

Property Value

Attributes

Remarks

Return the underlying bitmap's density, as per Bitmap#getDensity() Bitmap.getDensity().

Java documentation for android.graphics.NinePatch.getDensity().

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