站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Interface java.awt.Paint - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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. 
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 Color
          A class to 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 SystemColor
          A class to encapsulate symbolic colors representing the color of GUI objects on a system.
 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.
 

Uses of Paint in javax.swing.plaf
 

Classes in javax.swing.plaf that implement Paint
 class ColorUIResource
           
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.