Compartir a través de


Paint.FontSpacing Property

Definition

Return the recommend line spacing based on the current typeface and text size.

public virtual float FontSpacing { [Android.Runtime.Register("getFontSpacing", "()F", "GetGetFontSpacingHandler")] get; }
[<get: Android.Runtime.Register("getFontSpacing", "()F", "GetGetFontSpacingHandler")>]
member this.FontSpacing : single

Property Value

recommend line spacing based on the current typeface and text size.

Attributes

Remarks

Return the recommend line spacing based on the current typeface and text size.

Note that this is the value for the main typeface, and actual text rendered may need a larger value because fallback fonts may get used in rendering the text.

Java documentation for android.graphics.Paint.getFontSpacing().

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