SubstanceTrait
BottomLineOverlayPainter
, BottomShadowOverlayPainter
, TopBezelOverlayPainter
, TopLineOverlayPainter
, TopShadowOverlayPainter
public interface SubstanceOverlayPainter extends SubstanceTrait
Modifier and Type | Method | Description |
---|---|---|
void |
paintOverlay(Graphics2D graphics,
Component comp,
DecorationAreaType decorationAreaType,
int width,
int height,
SubstanceSkin skin) |
Paints the overlay.
|
getDisplayName
void paintOverlay(Graphics2D graphics, 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.