LineBreaker.Builder.SetIndents(Int32[]) 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 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.