oracle.javatools.editor.underline
Interface UnderlinePainter
- All Known Implementing Classes:
- SimpleLinePainter
- public interface UnderlinePainter
The UnderlinePainter
defines an interface for painting an underline.
Method Summary |
void |
paintUnderline(java.awt.Graphics graphics, java.awt.Color color, int xPos, int width, int yBaseline, int descent)
Paints the underline using this implementation of the UnderlinePainter . |
paintUnderline
public void paintUnderline(java.awt.Graphics graphics,
java.awt.Color color,
int xPos,
int width,
int yBaseline,
int descent)
- Paints the underline using this implementation of the
UnderlinePainter
.
-
- Parameters:
graphics
- the graphics context to paint into
color
- the color to use for painting the underline
xPos
- the x position to start painting from
width
- the width of the underline to paint
yBaseline
- the y position of the baseline of the text we are drawing an underline for
descent
- the descent of the font the text was drawn with
Copyright © 1997, 2004, Oracle. All rights reserved.