java.awt

Interface CompositeContext

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

See Also: Composite

UNKNOWN: updated to 1.4

Method Summary
voidcompose(Raster src, Raster dstIn, WritableRaster dstOut)
Compose the two source images into the composite image.
voiddispose()
Release resources allocated for the compositing.

Method Detail

compose

public void compose(Raster src, Raster dstIn, 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 {@link Composite#createContext}.

Parameters: src the lower image source in compositing dstIn the upper image source in compositing dstOut the destination for the composite

See Also: Composite

dispose

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