org.gnu.pango

Class Underline

public class Underline extends Enum

The PangoUnderline enumeration is used to specify whether text should be underlined, and if so, the type of underlining.
Field Summary
static UnderlineDOUBLE
a double underline should be drawn.
static UnderlineERROR
static UnderlineLOW
a single underline should be drawn at a position beneath the ink extents of the text being underlined.
static UnderlineNONE
no underline should be drawn.
static UnderlineSINGLE
a single underline should be drawn.
Method Summary
Underlineand(Underline other)
static Underlineintern(int value)
Underlineor(Underline other)
booleantest(Underline other)
Underlinexor(Underline other)

Field Detail

DOUBLE

public static final Underline DOUBLE
a double underline should be drawn.

ERROR

public static final Underline ERROR

LOW

public static final Underline LOW
a single underline should be drawn at a position beneath the ink extents of the text being underlined. This should be used only for underlining single characters, such as for keyboard accelerators. {@link #SINGLE} should be used for extended portions of text.

NONE

public static final Underline NONE
no underline should be drawn.

SINGLE

public static final Underline SINGLE
a single underline should be drawn.

Method Detail

and

public Underline and(Underline other)

intern

public static Underline intern(int value)

or

public Underline or(Underline other)

test

public boolean test(Underline other)

xor

public Underline xor(Underline other)