Draw a string with the graphics
g
at location
(
x
,
y
)
just like
g.drawString
would.
The character at index
underlinedIndex
in text will be underlined. If
index
is beyond the
bounds of
text
(including < 0), nothing will be
underlined.
Parameters:
-
g - Graphics to draw with
-
text - String to draw
-
underlinedIndex - Index of character in text to underline
-
x - x coordinate to draw at
-
y - y coordinate to draw at
Since:
1.4