Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.awt
Interface PaintContext  view PaintContext download PaintContext.java

All Known Implementing Classes:
ColorPaintContext

public interface PaintContext

Since:
1.1

Method Summary
 void dispose()
          Release the resources allocated for the paint.
 java.awt.image.ColorModel getColorModel()
          Return the color model of this context.
 java.awt.image.Raster getRaster(int x, int y, int w, int h)
          Return a raster containing the colors for the graphics operation.
 

Method Detail

dispose

public void dispose()
Release the resources allocated for the paint.


getColorModel

public java.awt.image.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.


getRaster

public java.awt.image.Raster getRaster(int x,
                                       int y,
                                       int w,
                                       int h)
Return a raster containing the colors for the graphics operation.