語言

LineBreaker.BreakStrategyBalanced 欄位

定義

警告

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_BALANCED", 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 BreakStrategyBalanced = 2;
[<Android.Runtime.Register("BREAK_STRATEGY_BALANCED", 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 BreakStrategyBalanced : Android.Graphics.Text.BreakStrategy

欄位值

Value = 2
屬性

備註

平衡換行策略的價值。

換行器會進行整段優化,使所有行長相近,並在需要時自動連字號。 這種中斷策略適合使用小螢幕裝置,例如手錶螢幕。

Java 文件 android.graphics.text.LineBreaker.BREAK_STRATEGY_BALANCED。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於