Class ClassicFillPainter

    • Field Detail

      • INSTANCE

        public static final ClassicFillPainter INSTANCE
        Reusable instance of this painter.
    • Constructor Detail

      • ClassicFillPainter

        public ClassicFillPainter​()
        Creates a new classic gradient painter.
    • Method Detail

      • getTopFillColor

        public java.awt.Color getTopFillColor​(SubstanceColorScheme fillScheme)
        Description copied from class: StandardFillPainter
        Computes the color of the top portion of the fill. Override to provide different visual.
        Overrides:
        getTopFillColor in class StandardFillPainter
        Parameters:
        fillScheme - The fill scheme.
        Returns:
        The color of the top portion of the fill.
      • getMidFillColorTop

        public java.awt.Color getMidFillColorTop​(SubstanceColorScheme fillScheme)
        Description copied from class: StandardFillPainter
        Computes the color of the middle portion of the fill from the top. Override to provide different visual.
        Overrides:
        getMidFillColorTop in class StandardFillPainter
        Parameters:
        fillScheme - The fill scheme.
        Returns:
        The color of the middle portion of the fill from the top.