Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.awt

Interface PaintContext

java.lang.Object
|
+--java.awt.PaintContext


public interface PaintContext

Since:Author:See Also:

Method Summary

voiddispose()

Release the resources allocated for the paint.
java.awt.image.ColorModelgetColorModel()

Return the color model of this context.
java.awt.image.RastergetRaster(int x, int y, int w, int h)

Return a raster containing the colors for the graphics operation.

Method Details

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: