ravikanth pratti wrote: > Hi, > I need to draw polygon(size-5) with curved corners.i am planning to draw > with combination of drawLines and drawCurves.But this method tooks more > time to draw required shape. > > is there is any other method to draw polygon with curved corners like > drawRoundRectangle()?
No, but you can get some inspiration by reading how the round rectangle method is written. If you avoid using Graphics2D, your code will probably be faster. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php
