Sprache

DynamicLayout.Builder.SetHyphenationFrequency(HyphenationFrequency) Method

Definition

Set hyphenation frequency, to control the amount of automatic hyphenation used.

[Android.Runtime.Register("setHyphenationFrequency", "(I)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)]
public Android.Text.DynamicLayout.Builder SetHyphenationFrequency(Android.Text.HyphenationFrequency hyphenationFrequency);
[<Android.Runtime.Register("setHyphenationFrequency", "(I)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)>]
member this.SetHyphenationFrequency : Android.Text.HyphenationFrequency -> Android.Text.DynamicLayout.Builder

Parameters

hyphenationFrequency
HyphenationFrequency

hyphenation frequency for the paragraph. Value is one of the following: Layout.HYPHENATION_FREQUENCY_NORMAL; Layout.HYPHENATION_FREQUENCY_NORMAL_FAST; Layout.HYPHENATION_FREQUENCY_FULL; Layout.HYPHENATION_FREQUENCY_FULL_FAST; Layout.HYPHENATION_FREQUENCY_NONE

Returns

this builder, useful for chaining. This value cannot be null.

Attributes

Remarks

Set hyphenation frequency, to control the amount of automatic hyphenation used. The possible values are defined in Layout, by constants named with the pattern HYPHENATION_FREQUENCY_*. The default is Layout.HYPHENATION_FREQUENCY_NONE.

Android reference for android.text.DynamicLayout.Builder.setHyphenationFrequency.

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