Class SimplisticFillPainter
java.lang.Object
org.pushingpixels.substance.api.painter.fill.StandardFillPainter
org.pushingpixels.substance.internal.painter.SimplisticFillPainter
- All Implemented Interfaces:
SubstanceFillPainter
,SubstanceTrait
- Direct Known Subclasses:
SubstanceImageCreator.SimplisticSoftBorderReverseFillPainter
Fill painter that returns images with simplistic appearance. This class is
for internal use only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimplisticFillPainter
Reusable instance of this painter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBottomShineColor
(SubstanceColorScheme fillScheme) Computes the color of the bottom portion of the shine.Returns the display name ofthis
trait.getMidFillColorTop
(SubstanceColorScheme fillScheme) Computes the color of the middle portion of the fill from the top.getTopFillColor
(SubstanceColorScheme fillScheme) Computes the color of the top portion of the fill.getTopShineColor
(SubstanceColorScheme fillScheme) Computes the color of the top portion of the shine.Methods inherited from class org.pushingpixels.substance.api.painter.fill.StandardFillPainter
getBottomFillColor, getMidFillColorBottom, paintContourBackground
-
Field Details
-
INSTANCE
Reusable instance of this painter.
-
-
Constructor Details
-
SimplisticFillPainter
public SimplisticFillPainter()
-
-
Method Details
-
getDisplayName
Description copied from interface:SubstanceTrait
Returns the display name ofthis
trait. This method is part of officially supported API.- Specified by:
getDisplayName
in interfaceSubstanceTrait
- Overrides:
getDisplayName
in classStandardFillPainter
- Returns:
- The display name of
this
trait.
-
getTopFillColor
Description copied from class:StandardFillPainter
Computes the color of the top portion of the fill. Override to provide different visual.- Overrides:
getTopFillColor
in classStandardFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the top portion of the fill.
-
getMidFillColorTop
Description copied from class:StandardFillPainter
Computes the color of the middle portion of the fill from the top. Override to provide different visual.- Overrides:
getMidFillColorTop
in classStandardFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the middle portion of the fill from the top.
-
getTopShineColor
Description copied from class:StandardFillPainter
Computes the color of the top portion of the shine. Override to provide different visual.- Overrides:
getTopShineColor
in classStandardFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the top portion of the shine.
-
getBottomShineColor
Description copied from class:StandardFillPainter
Computes the color of the bottom portion of the shine. Override to provide different visual.- Overrides:
getBottomShineColor
in classStandardFillPainter
- Parameters:
fillScheme
- The fill scheme.- Returns:
- The color of the bottom portion of the shine.
-