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

Quick Search    Search Deep

java.awt
Interface CompositeContext  view CompositeContext download CompositeContext.java


public interface CompositeContext

This interface provides an optimized environment for compositing graphics. Several such contexts may exist for a given Composite object.

Since:
1.2

Method Summary
 void compose(java.awt.image.Raster src, java.awt.image.Raster dstIn, java.awt.image.WritableRaster dstOut)
          Compose the two source images into the composite image.
 void dispose()
          Release resources allocated for the compositing.
 

Method Detail

dispose

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


compose

public void compose(java.awt.image.Raster src,
                    java.awt.image.Raster dstIn,
                    java.awt.image.WritableRaster dstOut)
Compose the two source images into the composite image. The destination can be the same as one of the two inputs, and the destination must be compatible with the ColorModel chosen in Composite.createContext(java.awt.image.ColorModel, java.awt.image.ColorModel, java.awt.RenderingHints) 55 .