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