LineBreaker.BreakStrategySimple 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Graphics.Text.BreakStrategy enum directly instead of this field.
指示简单换行策略的中断策略的值。
[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
字段值
Value = 0- 属性
注解
指示简单换行策略的中断策略的值。
换行符尽可能多地将单词置于行中,如果不能再将单词放入同一行中,则换行。 仅当行具有单个单词且该单词长于行宽时,才会添加自动连字符。 这是最快的中断策略,非常适合编辑器。
适用于 . 的 android.graphics.text.LineBreaker.BREAK_STRATEGY_SIMPLE
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。