Language

TextPaint.Density Property

Definition

Gets or sets the density scale available to text spans.

[Android.Runtime.Register("density")]
public float Density { get; set; }
[<Android.Runtime.Register("density")>]
member this.Density : single with get, set

Property Value

The scale used by spans that interpret sizes in density-independent units; the default is 1.

Attributes

Remarks

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