Language

LineBreaker.Builder.SetIndents(Int32[]) Method

Definition

Set indents.

[Android.Runtime.Register("setIndents", "([I)Landroid/graphics/text/LineBreaker$Builder;", "", ApiSince=29)]
public Android.Graphics.Text.LineBreaker.Builder SetIndents(int[]? indents);
[<Android.Runtime.Register("setIndents", "([I)Landroid/graphics/text/LineBreaker$Builder;", "", ApiSince=29)>]
member this.SetIndents : int[] -> Android.Graphics.Text.LineBreaker.Builder

Parameters

indents
Int32[]

The total left and right indentation for each line, in pixels, or null for no indents. The last entry also applies to all later lines.

Returns

This builder instance.

Attributes

Remarks

Set indents. The supplied array provides the total amount of indentation per line, in pixel. This amount is the sum of both left and right indentations. For lines past the last element in the array, the indentation amount of the last element is used.

Android reference for android.graphics.text.LineBreaker.Builder.setIndents.

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