Språk

LineBreaker.Builder.SetBreakStrategy(BreakStrategy) Method

Definition

Set break strategy.

[Android.Runtime.Register("setBreakStrategy", "(I)Landroid/graphics/text/LineBreaker$Builder;", "", ApiSince=29)]
public Android.Graphics.Text.LineBreaker.Builder SetBreakStrategy(Android.Graphics.Text.BreakStrategy breakStrategy);
[<Android.Runtime.Register("setBreakStrategy", "(I)Landroid/graphics/text/LineBreaker$Builder;", "", ApiSince=29)>]
member this.SetBreakStrategy : Android.Graphics.Text.BreakStrategy -> Android.Graphics.Text.LineBreaker.Builder

Parameters

breakStrategy
BreakStrategy

Value is one of the following: LineBreaker.BREAK_STRATEGY_SIMPLE; LineBreaker.BREAK_STRATEGY_HIGH_QUALITY; LineBreaker.BREAK_STRATEGY_BALANCED

Returns

This builder instance.

Attributes

Remarks

Set break strategy. You can change the line breaking behavior by setting break strategy. The default value is LineBreaker.BREAK_STRATEGY_SIMPLE.

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

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