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
Fake bing icon, browser hijacker virus thing
BGP on a switch
Combo restricted by Combo values
ASP.NET CreateUserWizard Custom Validator
SBS 2008 How to Change the Company web Page Calender Date Format
Setup a wenpage in Windows Server 2008
Variable not getting through POST
FireBird stored procedure
QoS config
Portable Air Conditioner Question.