Interface SubstanceFillPainter

    • Method Detail

      • paintContourBackground

        void paintContourBackground​(Graphics g,
                                    Component comp,
                                    int width,
                                    int height,
                                    Shape contour,
                                    boolean isFocused,
                                    SubstanceColorScheme fillScheme,
                                    boolean hasShine)
        Fills the contour that matches the specified parameters.
        Parameters:
        g - Graphics context.
        comp - Component to paint.
        width - Width of a UI component.
        height - Height of a UI component.
        contour - Contour of a UI component.
        isFocused - Indication whether component owns the focus.
        fillScheme - The fill color scheme.
        hasShine - Indication whether the returned image should have a 3D shine spot in its top half.