public interface SubstanceFillPainter extends SubstanceTrait
Modifier and Type | Method and Description |
---|---|
void |
paintContourBackground(java.awt.Graphics g,
java.awt.Component comp,
int width,
int height,
java.awt.Shape contour,
boolean isFocused,
SubstanceColorScheme fillScheme,
boolean hasShine)
Fills the contour that matches the specified parameters.
|
getDisplayName
void paintContourBackground(java.awt.Graphics g, java.awt.Component comp, int width, int height, java.awt.Shape contour, boolean isFocused, SubstanceColorScheme fillScheme, boolean hasShine)
g
- Graphics context.comp
- Component to paint.width
- Width of a UI component.height
- Height of a UI component.contour
- Contour of a UI component.isFocused
- Indication whether component owns the focus.fillScheme
- The fill color scheme.hasShine
- Indication whether the returned image should have a 3D shine
spot in its top half.