java.awt
public interface PaintContext
Method Summary | |
---|---|
void | dispose()
Release the resources allocated for the paint. |
ColorModel | getColorModel()
Return the color model of this context. |
Raster | getRaster(int x, int y, int w, int h)
Return a raster containing the colors for the graphics operation.
|
Returns: the context color model
Parameters: x the x-coordinate, in device space y the y-coordinate, in device space w the width, in device space h the height, in device space
Returns: a raster for the given area and color