语言

LineBreakConfig.HyphenationEnabled 字段

定义

注意

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

已启用连字符。

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

字段值

Value = 1

实现

特性

注解

已启用连字符。

注意:即使使用换行策略 LineBreaker#BREAK_STRATEGY_SIMPLE启用连字符,除非单个单词不能满足宽度约束,否则不会执行断字符。

Java文档android.graphics.text.LineBreakConfig.HYPHENATION_ENABLED。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于