SubstanceTraitClassicFillPainter, FractionBasedFillPainter, GlassFillPainter, MatteFillPainter, SimplisticFillPainter, StandardFillPainter, SubduedFillPainter, SubstanceImageCreator.SimplisticSoftBorderReverseFillPainterpublic interface SubstanceFillPainter extends SubstanceTrait
| Modifier and Type | Method | Description |
|---|---|---|
void |
paintContourBackground(Graphics g,
Component comp,
int width,
int height,
Shape contour,
boolean isFocused,
SubstanceColorScheme fillScheme,
boolean hasShine) |
Fills the contour that matches the specified parameters.
|
getDisplayNamevoid paintContourBackground(Graphics g, Component comp, int width, int height, 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.