Hi, I’m drawing a filled polygon over a bitmap, and the polygon has a hole in the center.  It’s really two nested polygons, but I’d like to somehow have java2d obey an even-odd winding rule to not fill in the internal polygon. 

 

I can’t just draw the outer, then draw the inner with the original color, because that would cover up the bitmap that I want to show through the center.

 

What’s the most efficient way to draw this complex polygon in Java2D? 

 

thanks!

-Jim

 

=========================================================================== 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