Język

StaticLayout.Builder.SetUseLineSpacingFromFallbacks(Boolean) Method

Definition

Set whether to respect the ascent and descent of the fallback fonts that are used in displaying the text (which is needed to avoid text from consecutive lines running into each other).

[Android.Runtime.Register("setUseLineSpacingFromFallbacks", "(Z)Landroid/text/StaticLayout$Builder;", "", ApiSince=28)]
public Android.Text.StaticLayout.Builder SetUseLineSpacingFromFallbacks(bool useLineSpacingFromFallbacks);
[<Android.Runtime.Register("setUseLineSpacingFromFallbacks", "(Z)Landroid/text/StaticLayout$Builder;", "", ApiSince=28)>]
member this.SetUseLineSpacingFromFallbacks : bool -> Android.Text.StaticLayout.Builder

Parameters

useLineSpacingFromFallbacks
Boolean

whether to expand linespacing based on fallback fonts

Returns

this builder, useful for chaining. This value cannot be null.

Attributes

Remarks

Set whether to respect the ascent and descent of the fallback fonts that are used in displaying the text (which is needed to avoid text from consecutive lines running into each other). If set, fallback fonts that end up getting used can increase the ascent and descent of the lines that they are used on.

Android reference for android.text.StaticLayout.Builder.setUseLineSpacingFromFallbacks.

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