TextAttribute.Foreground Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attribute key for the paint used to render the text.
[Android.Runtime.Register("FOREGROUND")]
public static Java.Awt.Font.TextAttribute? Foreground { get; }
[<Android.Runtime.Register("FOREGROUND")>]
static member Foreground : Java.Awt.Font.TextAttribute
Property Value
- Attributes
Remarks
Attribute key for the paint used to render the text. Values are instances of <b>Paint
</b>. The default value is null, indicating that the Paint
set on the Graphics2D
at the time of rendering is used.
Glyphs will be rendered using this Paint
regardless of the Paint
value set on the Graphics
(but see #SWAP_COLORS
).
Java documentation for java.awt.font.TextAttribute.FOREGROUND
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.