[JAVA2D] Drawing complex polygons over images
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
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?
To unsubscribe, send email to firstname.lastname@example.org and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
email@example.com and include in the body of the message "help".