Package ch.bailu.gtk.pango
Interface Underline
public interface Underline
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
a double underline should be drawnstatic final int
Like @PANGO_UNDERLINE_DOUBLE, but
drawn continuously across multiple runs.static final int
an underline indicating an error should
be drawn below.static final int
Like @PANGO_UNDERLINE_ERROR, but
drawn continuously across multiple runs.static final int
a single underline should be drawn at a
position beneath the ink extents of the text being
underlined.static final int
no underline should be drawnstatic final int
a single underline should be drawnstatic final int
Like @PANGO_UNDERLINE_SINGLE, but
drawn continuously across multiple runs.
-
Field Details
-
NONE
static final int NONEno underline should be drawn- See Also:
-
SINGLE
static final int SINGLEa single underline should be drawn- See Also:
-
DOUBLE
static final int DOUBLEa double underline should be drawn- See Also:
-
LOW
static final int LOWa 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.
%PANGO_UNDERLINE_SINGLE should be used for extended
portions of text.- See Also:
-
ERROR
static final int ERRORan underline indicating an error should
be drawn below. The exact style of rendering is up to the
`PangoRenderer` in use, but typical styles include wavy
or dotted lines.
This underline is typically used to indicate an error such
as a possible mispelling; in some cases a contrasting color
may automatically be used. This type of underlining is
available since Pango 1.4.- See Also:
-
SINGLE_LINE
static final int SINGLE_LINELike @PANGO_UNDERLINE_SINGLE, but
drawn continuously across multiple runs. This type
of underlining is available since Pango 1.46.- See Also:
-
DOUBLE_LINE
static final int DOUBLE_LINELike @PANGO_UNDERLINE_DOUBLE, but
drawn continuously across multiple runs. This type
of underlining is available since Pango 1.46.- See Also:
-
ERROR_LINE
static final int ERROR_LINELike @PANGO_UNDERLINE_ERROR, but
drawn continuously across multiple runs. This type
of underlining is available since Pango 1.46.- See Also:
-