aicas logoJamaica 3.2 release 62

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
Status:
updated to 1.4

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

Method Detail

dispose

void dispose()
Release resources allocated for the compositing.


compose

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 Composite.createContext(java.awt.image.ColorModel, java.awt.image.ColorModel, java.awt.RenderingHints).

Parameters:
src - the lower image source in compositing
dstIn - the upper image source in compositing
dstOut - the destination for the composite
See Also:
Composite

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.