cb.saveState();
cb.rectangle(..);
cb.clip();
cb.newpath();
// put your text and other objects here
cb.restoreState()

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Roger Misteli
> Sent: Monday, October 25, 2004 4:02 PM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] iText & Clipping
> 
> Hiyas
> 
> Is it possible that I create a rectangle with text inside that is
> clipped to this rectangle, so that everything that would be rendered
> outside this rectangle is, well..clipped?
> 
> Regards,
> Rog
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on 
> ITManagersJournal
> Use IT products in your business? Tell us what you think of 
> them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to 
> find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to