Class TransparentHighlightPainter

All Implemented Interfaces:
Highlighter.HighlightPainter

public class TransparentHighlightPainter extends UnderlineFactory.Underliner
Paints transparent background color
  • Constructor Details

    • TransparentHighlightPainter

      public TransparentHighlightPainter(Color color, float alpha)
      Parameters:
      color - the color to paint the background in
      alpha - the transparency level (1.0 = not transparent, 0.0 = full transparency)