JSR-209 (Final Release)

Uses of Interface
java.awt.Paint

Packages that use Paint
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of Paint in java.awt
 

Classes in java.awt that implement Paint
 class Color
          The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary color spaces identified by a ColorSpace.
 class GradientPaint
          The GradientPaint class provides a way to fill a Shape with a linear color gradient pattern.
 class TexturePaint
          The TexturePaint class provides a way to fill a Shape with a texture that is specified as a BufferedImage.
 

Methods in java.awt that return Paint
abstract  Paint Graphics2D.getPaint()
          Returns the current Paint of the Graphics2D context.
 

Methods in java.awt with parameters of type Paint
abstract  void Graphics2D.setPaint(Paint paint)
          Sets the Paint attribute for the Graphics2D context.
 


JSR-209 (Final Release)

Java and Java 2D are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.
Copyright 1993 - 2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All Rights Reserved.
Use of this specification is subject to this license.