Uses of Interface
java.awt.Paint
Packages that use Paint
Package
Description
Contains all of the classes for creating user interfaces and for painting
 graphics and images.
Provides a set of "lightweight" (all-Java language) components
 that, to the maximum degree possible, work the same on all platforms.
Provides classes and interface for drawing specialized borders around a Swing
 component.
Provides one interface and many abstract classes that Swing uses to provide
 its pluggable look-and-feel capabilities.
- 
Uses of Paint in java.awtModifier and TypeClassDescriptionclassTheColorclass is used to encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by aColorSpace.classTheGradientPaintclass provides a way to fill aShapewith a linear color gradient pattern.classTheLinearGradientPaintclass provides a way to fill aShapewith a linear color gradient pattern.classThis is the superclass for Paints which use a multiple color gradient to fill in their raster.classTheRadialGradientPaintclass provides a way to fill a shape with a circular radial color gradient pattern.classA class to encapsulate symbolic colors representing the color of native GUI objects on a system.classTheTexturePaintclass provides a way to fill aShapewith a texture that is specified as aBufferedImage.
- 
Uses of Paint in javax.swingMethods in javax.swing with parameters of type PaintModifier and TypeMethodDescriptionstatic BorderBorderFactory.createDashedBorder(Paint paint)Creates a dashed border of the specifiedpaint.static BorderBorderFactory.createDashedBorder(Paint paint, float length, float spacing)Creates a dashed border of the specifiedpaint, relativelength, and relativespacing.static BorderBorderFactory.createDashedBorder(Paint paint, float thickness, float length, float spacing, boolean rounded)Creates a dashed border of the specifiedpaint,thickness, line shape, relativelength, and relativespacing.static BorderBorderFactory.createStrokeBorder(BasicStroke stroke, Paint paint)Creates a border of the specifiedstrokeandpaint.
- 
Uses of Paint in javax.swing.borderMethods in javax.swing.border that return PaintModifier and TypeMethodDescriptionStrokeBorder.getPaint()Returns thePaintobject used to generate a color during the border rendering.Constructors in javax.swing.border with parameters of type PaintModifierConstructorDescriptionStrokeBorder(BasicStroke stroke, Paint paint)Creates a border of the specifiedstrokeandpaint.
- 
Uses of Paint in javax.swing.plafClasses in javax.swing.plaf that implement PaintModifier and TypeClassDescriptionclassA subclass of Color that implements UIResource.