In simplified terms, I have a situation where I am drawing a large filled 
Rectangle and then drawing other smaller filled rectangles in front of or on 
top of the large one.  The rectangles at the front do not completely cover the 
large rectangle at the back so there is a region of the back rectangle around 
the smaller rectangles that "shows through" so to speak.

The question is, is it possible (perhaps with some form of "negative" clipping) 
to repaint the background colour of the large rectangle without having to 
repaint the smaller rectangles as well?  So, just the area that shows through 
from the large rectangle is repainted.  At the moment, I have to repaint the 
large rectangle and then all the smaller ones as well which is clearly too 
expensive.

Any ideas?

-- 
And loving it,

-Q
_________________________________________________
[EMAIL PROTECTED]
(Replace the "SixFour" with numbers to email me)
[Message sent by forum member 'qu0ll' (qu0ll)]

http://forums.java.net/jive/thread.jspa?messageID=246463

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to