Layout.Builder.SetLineSpacingAmount(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the line spacing amount.
[Android.Runtime.Register("setLineSpacingAmount", "(F)Landroid/text/Layout$Builder;", "", ApiSince=35)]
public Android.Text.Layout.Builder SetLineSpacingAmount(float amount);
[<Android.Runtime.Register("setLineSpacingAmount", "(F)Landroid/text/Layout$Builder;", "", ApiSince=35)>]
member this.SetLineSpacingAmount : single -> Android.Text.Layout.Builder
Parameters
- amount
- Single
an amount of pixels to be added to line height.
Returns
this builder instance. This value cannot be null.
- Attributes
Remarks
Set the line spacing amount. The specified amount of pixels will be added to each line. The default value is 0. The negative value is allowed for squeezing lines.
Android reference for android.text.Layout.Builder.setLineSpacingAmount.
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.