SubstanceOverlayPainter, SubstanceTraitpublic final class BottomShadowOverlayPainter extends Object implements SubstanceOverlayPainter
| Modifier and Type | Method | Description |
|---|---|---|
String |
getDisplayName() |
Returns the display name of
this trait. |
static BottomShadowOverlayPainter |
getInstance() |
Returns the single instance of this class.
|
void |
paintOverlay(Graphics2D graphics,
Component comp,
DecorationAreaType decorationAreaType,
int width,
int height,
SubstanceSkin skin) |
Paints the overlay.
|
public static BottomShadowOverlayPainter getInstance()
public void paintOverlay(Graphics2D graphics, Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
SubstanceOverlayPainterpaintOverlay in interface SubstanceOverlayPaintergraphics - Graphics context.comp - Component.decorationAreaType - Decoration area type. Must not be null.width - Width.height - Height.skin - Skin for painting the overlay.public String getDisplayName()
SubstanceTraitthis trait. This method is part
of officially supported API.getDisplayName in interface SubstanceTraitthis trait.