I understand that. But because of the different line widths, I have to do each segment with a seperate stroke - so doesn't that preclude a closePath?
What is interesting is it will still join the end of one line to the begining of the next if they are listed in order. ----- Original Message ----- From: "Leonard Rosenthol" <[EMAIL PROTECTED]> To: "David Thielen" <[EMAIL PROTECTED]>; "Paulo Soares" <[EMAIL PROTECTED]>; "itext" <[EMAIL PROTECTED]> Sent: Tuesday, July 29, 2003 2:22 PM Subject: Re: [iText-questions] Interesting line drawing > At 01:55 PM 7/29/2003 -0600, David Thielen wrote: > >Oops - sorry I was going by memory. > > > >I do > > setLineWidth() > > moveTo() > > lineTo() > > stroke() > > > >4 times. And the first 3 corners are joined. But the last corner which is > >joining the end of line 4 to the begining of line 1 doesn't join. > > Correct. Unless you do a closePath(), Acrobat won't join the > first and last segment - it considers it as an open path. > > > LDR > > -------------------------------------------------------------------------- - > Leonard Rosenthol <mailto:[EMAIL PROTECTED]> > Chief Technical Officer <http://www.pdfsages.com> > PDF Sages, Inc. 215-629-3700 (voice) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
