First of all you must read the pdf reference to understand the graphics
model. Then, you'll come to the conclusion that the only reliable way to
have all that flexibility is never to use stroke but only fill. Draw the
outline of your line and fill it.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: kathy [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, October 07, 2003 18:38
> To:   iText-FAQ
> Subject:      [iText-questions] About border
> 
> Hi,
> 
> I'm using a pdfcontentbyte to output a 4 corner border without using the 
> rectangle method, but the result will have rounding issue where some of 
> the lines is longer than the original point. each corner is draw 
> separately using moveTo and lineTo, the reason for me to do it in this 
> way is because each line may have different style, width and color.  i 
> know if i using the rectangle method or moveTo and lineTo and lineTo, 
> the problem is solved but these does not allow me to have the 
> flexibility in color, width, style for each corner. Do you think, this 
> can be solved?
> 
> Regards,
> Kathy
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to