java.awt
Interface PaintContext
java.lang.Object
|
+--java.awt.PaintContext
public interface PaintContext
Since:Author:- Warren Levy <warrenl@cygnus.com>
See Also:
dispose
public void dispose()
Release the resources allocated for the paint.
getColorModel
public ColorModel getColorModel()
Return the color model of this context. It may be different from the
hint specified during createContext, as not all contexts can generate
color patterns in an arbitrary model.
Returns:
getRaster
public Raster getRaster(int x, int y, int w, int h)
Return a raster containing the colors for the graphics operation.
Parameters:
Returns:
- a raster for the given area and color