Class ColorHighlightPainter

    • Constructor Detail

      • ColorHighlightPainter

        public ColorHighlightPainter()
        Default constructor. The color is red.
      • ColorHighlightPainter

        public ColorHighlightPainter​(Color color,
                                     int height,
                                     int totalHeight)
        Constructor.
        Parameters:
        color - The color to use for highlight.
        height - The height of the highlight line. This may be smaller than the total height. If it is, the extra space will remain under the line.
        totalHeight - The height of the highlight.