Microsoft
Software
Hardware
Network
Question : Graphics2D.clearPolygon(Polygon p) ?
Hi,
The problem I have right now is that I've got an image which has some transparent pixels and some opaque ones.
I would like to remove some of the opaque pixels in the same of a polygon that I have generated.
The problem is that java only has API for clear rectangles.
The way I am solving this problem right now is just by drawing the polygon as the color behind the image, but this does not always work because the background changes.
Doing some hacking around with the API is not a problem if it solves my problem, just so long as it is not terribly inefficient.
I haven't been able to find anything on the subject so far.
Thanks
Answer : Graphics2D.clearPolygon(Polygon p) ?
try smartdraw
http://www.smartdraw.com/
I use it to create floorplans
Random Solutions
In Sent Items, how can I tell if a message was sent with Read Receipt Requested
PayPal Express Checkout Module
Oracle 10g: How to index a column in a materialized view?
Calculated variable on server...
How and where can I save and load a segmented control with NSUserDefaults
HMAC-MD5 (RFC 2104) VB
I have a coolmax eSATA drive enclosure with a seagate SATA drive
In Perl, how do I check if a value already exist in the database
Bash Script to eliminate 2 lines from lots of pages
accessing VPN while Internet Tethering on iPhone