public interface PaintContext
Paint| Modifier and Type | Method and Description |
|---|---|
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.
|
void dispose()
ColorModel getColorModel()
Raster getRaster(int x, int y, int w, int h)
x - the x-coordinate, in device spacey - the y-coordinate, in device spacew - the width, in device spaceh - the height, in device space