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,指示PaintGraphics2D使用呈现时设置。

无论在设置的值如何(但请参阅#SWAP_COLORS)上Graphics设置的值,都将使用此PaintPaint标志符号。

适用于 . 的 java.awt.font.TextAttribute.FOREGROUNDJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于