You must end the path somehow. As you can't do a stroke/fill, newPath() is a no-op and is there to end that path.
 
Best Regards,
Paulo Soares


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Toula
Sent: Tuesday, July 13, 2004 10:00 AM
To: [EMAIL PROTECTED]
Subject: [iText-questions] About clipping


Just a dumb question about clipping ....

I was wondering why we have to do a
aPdfContentByte.newPath();
after a clip(), in order to actually clip something ?

Best,
Mike
******************************************
Michael TOULA
Software Engineer

Dalim Software GmbH
Strassburger Str. 6
D-77694
Kehl am Rhein
GERMANY

tel:   +49 7851 919 652
fax:  +49 7851 735 76
web:   www.dalim.com
******************************************

Reply via email to