. cb.setColorStroke(lcolor.getAWTColor()); cb.setLineWidth(width); cb.setLineJoin(2); cb.setLineCap(1); cb.setLineDash(10.f,7.2f,0f); . . . cb.stroke();
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jerold Sampson > Sent: Thursday, May 12, 2005 9:45 PM > To: [email protected] > Subject: [iText-questions] Problems trying to use > setLineDash(); function > > I am trying to draw a dashed line using the setline dash > method with the followng code: > > . > cb.setColorStroke(lcolor.getAWTColor()); > cb.setLineWidth(width); > cb.setLineJoin(2); > cb.setLineCap(1); > . > . > . > cb.setLineDash(10.f,7.2f,0f); > cb.stroke(); > > > > The PDF is generated but I get and invalid operation inside > path error when trying to view the PDF. > > If I remove the setLineDash call the PDF views fine with a solid line. > > Are there and examples using this function, or does anyone > have a solution to this problem? > > Sincerely, > Jerold Sampson > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_ids93&alloc_id281&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
