SubstanceFillPainter
, SubstanceTrait
public class MatteFillPainter extends ClassicFillPainter
Modifier and Type | Field | Description |
---|---|---|
static MatteFillPainter |
INSTANCE |
Reusable instance of this painter.
|
Constructor | Description |
---|---|
MatteFillPainter() |
Creates a new matte fill painter.
|
Modifier and Type | Method | Description |
---|---|---|
Color |
getBottomFillColor(SubstanceColorScheme fillScheme) |
Computes the color of the bottom portion of the fill.
|
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
getBottomShineColor, getMidFillColorBottom, getTopShineColor, paintContourBackground
public static final MatteFillPainter INSTANCE
public String getDisplayName()
SubstanceTrait
this
trait. This method is part
of officially supported API.getDisplayName
in interface SubstanceTrait
getDisplayName
in class ClassicFillPainter
this
trait.public Color getTopFillColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getTopFillColor
in class ClassicFillPainter
fillScheme
- The fill scheme.public Color getMidFillColorTop(SubstanceColorScheme fillScheme)
StandardFillPainter
getMidFillColorTop
in class ClassicFillPainter
fillScheme
- The fill scheme.public Color getBottomFillColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getBottomFillColor
in class StandardFillPainter
fillScheme
- The fill scheme.