Android.Graphics.Canvas.Density Property

Syntax

[get: Android.Runtime.Register("getDensity", "()I", "GetGetDensityHandler")]
[set: Android.Runtime.Register("setDensity", "(I)V", "GetSetDensity_IHandler")]
public virtual int Density { get; set; }

See Also

Canvas.Density
Bitmap.Density
Canvas.Density
Bitmap.Density

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns the target density of the canvas. The default density is derived from the density of its backing bitmap, or Bitmap.DensityNone if there is not one.

Set method documentation [Android Documentation]

Specifies the density for this Canvas' backing bitmap. This modifies the target density of the canvas itself, as well as the density of its backing bitmap via Bitmap.Density.

Requirements

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