TextAttribute.Underline Property

Definition

Attribute key for underline.

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

Property Value

Attributes

Remarks

Attribute key for underline. Values are instances of <b>Integer</b>. The default value is -1, which means no underline.

The constant value #UNDERLINE_ON is provided.

The underline affects both the visual bounds and the outline of the text.

Java documentation for java.awt.font.TextAttribute.UNDERLINE.

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.

Applies to