Język

LineBreaker.Builder.SetJustificationMode(JustificationMode) Method

Definition

Set whether the text is justified.

[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: LineBreaker.JUSTIFICATION_MODE_NONE; LineBreaker.JUSTIFICATION_MODE_INTER_WORD; LineBreaker.JUSTIFICATION_MODE_INTER_CHARACTER

Returns

This builder instance.

Attributes

Remarks

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

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