共用方式為


TextAttribute.Foreground 屬性

定義

用來呈現文字之繪製的屬性索引鍵。

[Android.Runtime.Register("FOREGROUND")]
public static Java.Awt.Font.TextAttribute? Foreground { get; }
[<Android.Runtime.Register("FOREGROUND")>]
static member Foreground : Java.Awt.Font.TextAttribute

屬性值

屬性

備註

用來呈現文字之繪製的屬性索引鍵。 值是 b<>Paint/b> 的<實例。 預設值為 null,表示 Paint 在轉譯時所設定 Graphics2D 的 。

不論 上Graphics設定的值為何Paint,字元都會使用這個 Paint 來轉譯 (但請參閱 #SWAP_COLORS)。

java.awt.font.TextAttribute.FOREGROUNDJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於