SubstanceTrait
BottomLineOverlayPainter
, BottomShadowOverlayPainter
, TopBezelOverlayPainter
, TopLineOverlayPainter
, TopShadowOverlayPainter
public interface SubstanceOverlayPainter extends SubstanceTrait
Modifier and Type | Method | Description |
---|---|---|
void |
paintOverlay(java.awt.Graphics2D graphics,
java.awt.Component comp,
DecorationAreaType decorationAreaType,
int width,
int height,
SubstanceSkin skin) |
Paints the overlay.
|
getDisplayName
void paintOverlay(java.awt.Graphics2D graphics, java.awt.Component comp, DecorationAreaType decorationAreaType, int width, int height, SubstanceSkin skin)
graphics
- Graphics context.comp
- Component.decorationAreaType
- Decoration area type. Must not be null
.width
- Width.height
- Height.skin
- Skin for painting the overlay.