Alpha blending with Java2D API
0 posts in topic
Flat View  Flat View

Posted By:   Jeremy_Zink
Posted On:   Wednesday, January 2, 2002 02:42 PM

Is it possible to limit what pixels (i.e. specific colors) are affected when creating an alpha composite? For example, lets say I have a checkerboard image with red and white squares. I'd like to overlay the image with a completely blue image of the same dimension and have the resultant image appear as purple and white squares, the white squares being unaffected. This isn't exactly what I'm attempting to do but hopefully it illustrates the problem clearly. Thanks for any help.

About | Sitemap | Contact