Interface RadianceFillPainter
- All Superinterfaces:
RadianceTrait
- All Known Implementing Classes:
BladeIconUtils.SimplisticSoftBorderReverseFillPainter
,ClassicFillPainter
,FractionBasedFillPainter
,GlassFillPainter
,MatteFillPainter
,SpecularRectangularFillPainter
,StandardFillPainter
,SubduedFillPainter
Fill painter interface for Radiance look and feel. This class is part
of officially supported API.
-
Method Summary
Modifier and TypeMethodDescriptiongetRepresentativeColor
(RadianceColorScheme fillScheme) void
paintContourBackground
(Graphics g, Component comp, float width, float height, Shape contour, RadianceColorScheme fillScheme) Fills the contour that matches the specified parameters.Methods inherited from interface org.pushingpixels.radiance.theming.api.trait.RadianceTrait
getDisplayName
-
Method Details
-
paintContourBackground
void paintContourBackground(Graphics g, Component comp, float width, float height, Shape contour, RadianceColorScheme fillScheme) Fills the contour that matches the specified parameters.- Parameters:
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.fillScheme
- The fill color scheme.
-
getRepresentativeColor
-