Język

Layout.Builder.SetLineSpacingMultiplier(Single) Method

Definition

Set the line spacing multiplier.

[Android.Runtime.Register("setLineSpacingMultiplier", "(F)Landroid/text/Layout$Builder;", "", ApiSince=35)]
public Android.Text.Layout.Builder SetLineSpacingMultiplier(float multiplier);
[<Android.Runtime.Register("setLineSpacingMultiplier", "(F)Landroid/text/Layout$Builder;", "", ApiSince=35)>]
member this.SetLineSpacingMultiplier : single -> Android.Text.Layout.Builder

Parameters

multiplier
Single

a multiplier to be applied to the line height. Value is 0.0f or greater

Returns

this builder instance. This value cannot be null.

Attributes

Remarks

Set the line spacing multiplier. The specified value will be multiplied to each line. The default value is 1.

Android reference for android.text.Layout.Builder.setLineSpacingMultiplier.

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