Sdílet prostřednictvím


LineBreaker.BreakStrategySimple Field

Definition

Caution

This constant will be removed in the future version. Use Android.Graphics.Text.BreakStrategy enum directly instead of this field.

Value for break strategy indicating simple line breaking.

[Android.Runtime.Register("BREAK_STRATEGY_SIMPLE", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Text.BreakStrategy enum directly instead of this field.", true)]
public const Android.Graphics.Text.BreakStrategy BreakStrategySimple = 0;
[<Android.Runtime.Register("BREAK_STRATEGY_SIMPLE", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Text.BreakStrategy enum directly instead of this field.", true)>]
val mutable BreakStrategySimple : Android.Graphics.Text.BreakStrategy

Field Value

Value = 0
Attributes

Remarks

Value for break strategy indicating simple line breaking.

The line breaker puts words to the line as much as possible and breaks line if no more words can fit into the same line. Automatic hyphens are only added when a line has a single word and that word is longer than line width. This is the fastest break strategy and ideal for editor.

Java documentation for android.graphics.text.LineBreaker.BREAK_STRATEGY_SIMPLE.

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