語言

LineBreaker.Builder.SetJustificationMode(JustificationMode) 方法

定義

設定文本是否正當。

[Android.Runtime.Register("setJustificationMode", "(I)Landroid/graphics/text/LineBreaker$Builder;", "", ApiSince=29)]
public Android.Graphics.Text.LineBreaker.Builder SetJustificationMode(Android.Graphics.Text.JustificationMode justificationMode);
[<Android.Runtime.Register("setJustificationMode", "(I)Landroid/graphics/text/LineBreaker$Builder;", "", ApiSince=29)>]
member this.SetJustificationMode : Android.Graphics.Text.JustificationMode -> Android.Graphics.Text.LineBreaker.Builder

參數

justificationMode
JustificationMode

Value 為下列之一: None; InterWord; InterCharacter

傳回

這個建商實例。

屬性

備註

設定文本是否正當。 設定 LineBreaker.JUSTIFICATION_MODE_INTER_WORD 後,換行器會改變內部對齊參數。 預設值為LineBreaker.JUSTIFICATION_MODE_NONE

Android 參考資料。android.graphics.text.LineBreaker.Builder.setJustificationMode

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

適用於