| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Paint | |
|---|---|
| java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images. | 
| javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities. | 
| Uses of Paint in java.awt | 
|---|
| Classes in java.awt that implement Paint | |
|---|---|
|  class | ColorThe Colorclass is used to encapsulate colors in the default
 sRGB color space or colors in arbitrary color spaces identified by aColorSpace. | 
|  class | GradientPaintThe GradientPaintclass provides a way to fill 
 aShapewith a linear color gradient pattern. | 
|  class | LinearGradientPaintThe LinearGradientPaintclass provides a way to fill
 aShapewith a linear color gradient pattern. | 
|  class | MultipleGradientPaintThis is the superclass for Paints which use a multiple color gradient to fill in their raster. | 
|  class | RadialGradientPaintThe RadialGradientPaintclass provides a way to fill a shape with
 a circular radial color gradient pattern. | 
|  class | SystemColorA class to encapsulate symbolic colors representing the color of native GUI objects on a system. | 
|  class | TexturePaintThe TexturePaintclass provides a way to fill aShapewith a texture that is specified as
 aBufferedImage. | 
| Methods in java.awt that return Paint | |
|---|---|
| abstract  Paint | Graphics2D.getPaint()Returns the current Paintof theGraphics2Dcontext. | 
| Methods in java.awt with parameters of type Paint | |
|---|---|
| abstract  void | Graphics2D.setPaint(Paint paint)Sets the Paintattribute for theGraphics2Dcontext. | 
| Uses of Paint in javax.swing.plaf | 
|---|
| Classes in javax.swing.plaf that implement Paint | |
|---|---|
|  class | ColorUIResource | 
| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.