----- Original Message ----- From: "agostino sclauzero" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, September 29, 2007 7:28 PM Subject: [iText-questions] fill sectors of a circle
I draw a circle with PdfTemplate.circle method. Then I divide it into sectors drawing lines from center to the circumference. I want to fill each sector with a different color. Since the radius i've drawn (moveTo center, lineTo circumference) are 'single lines' and no close paths, the fill method doesn't work. I'm thinking the only way to accomplish this is to split the circumference into sectors too. Is there any simpler method? What would be simpler than drawing arcs? Paulo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
