SubstanceFillPainter
, SubstanceTrait
SubstanceImageCreator.SimplisticSoftBorderReverseFillPainter
public class SimplisticFillPainter extends StandardFillPainter
Modifier and Type | Field | Description |
---|---|---|
static SimplisticFillPainter |
INSTANCE |
Reusable instance of this painter.
|
Constructor | Description |
---|---|
SimplisticFillPainter() |
Modifier and Type | Method | Description |
---|---|---|
java.awt.Color |
getBottomShineColor(SubstanceColorScheme fillScheme) |
Computes the color of the bottom portion of the shine.
|
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.
|
java.awt.Color |
getTopShineColor(SubstanceColorScheme fillScheme) |
Computes the color of the top portion of the shine.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBottomFillColor, getMidFillColorBottom, paintContourBackground
public static final SimplisticFillPainter INSTANCE
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.public java.awt.Color getTopShineColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getTopShineColor
in class StandardFillPainter
fillScheme
- The fill scheme.public java.awt.Color getBottomShineColor(SubstanceColorScheme fillScheme)
StandardFillPainter
getBottomShineColor
in class StandardFillPainter
fillScheme
- The fill scheme.