public class ClassicFillPainter extends StandardFillPainter
Modifier and Type | Field and Description |
---|---|
static ClassicFillPainter |
INSTANCE
Reusable instance of this painter.
|
Constructor and Description |
---|
ClassicFillPainter()
Creates a new classic gradient painter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName()
Returns the display name of
this trait. |
java.awt.Color |
getMidFillColorTop(SubstanceColorScheme fillScheme)
Computes the color of the middle portion of the fill from the top.
|
java.awt.Color |
getTopFillColor(SubstanceColorScheme fillScheme)
Computes the color of the top portion of the fill.
|
getBottomFillColor, getBottomShineColor, getMidFillColorBottom, getTopShineColor, paintContourBackground
public static final ClassicFillPainter INSTANCE
public ClassicFillPainter()
public java.lang.String getDisplayName()
SubstanceTrait
this
trait. This method is part
of officially supported API.getDisplayName
in interface SubstanceTrait
getDisplayName
in class StandardFillPainter
this
trait.public java.awt.Color getTopFillColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getTopFillColor
in class StandardFillPainter
fillScheme
- The fill scheme.public java.awt.Color getMidFillColorTop(SubstanceColorScheme fillScheme)
StandardFillPainter
getMidFillColorTop
in class StandardFillPainter
fillScheme
- The fill scheme.