Language

LineBreaker.Builder.SetJustificationMode(JustificationMode) Method

Definition

Sets the justification mode for line breaking.

[Android.Runtime.Register("setJustificationMode", "(I)Landroid/graphics/text/LineBreaker$Builder;", "", ApiSince=29)]
public Android.Graphics.Text.LineBreaker.Builder SetJustificationMode(Android.Graphics.Text.JustificationMode justificationMode);
[<Android.Runtime.Register("setJustificationMode", "(I)Landroid/graphics/text/LineBreaker$Builder;", "", ApiSince=29)>]
member this.SetJustificationMode : Android.Graphics.Text.JustificationMode -> Android.Graphics.Text.LineBreaker.Builder

Parameters

justificationMode
JustificationMode

Value is one of the following: None; InterWord; InterCharacter

Returns

This builder instance.

Attributes

Remarks

Set whether the text is justified. By setting InterWord, the line breaker will change the internal parameters for justification. The default value is None.

The line breaker does not draw the text. Its native justification flag is enabled for InterWord, but not for InterCharacter.

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

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