Title: Re: [iText-questions] Background and border rethinking
For the moment I kept the gray fill but internaly is converted to a GrayColor.
 
Paulo


From: [EMAIL PROTECTED] on behalf of Bruno Lowagie
Sent: Fri 09-Dec-05 13:59
To: [email protected]
Subject: Re: [iText-questions] Background and border rethinking

Paulo Soares wrote:

> I had a good look at Rectangle borders and background processing and
> I'm inclined to do the following changes/fixes:

> - backgrounds are being written twice with variable borders
> - Rectangle.setGrayFill() and Rectangle.grayFill() have no reason to
> exist. The same can be achieved with Rectangle.seBackgroundColor(new
> GrayColor()). For me I would just delete the methods but that's
> probably too radical

I don't mind because then I immediately see where to change the examples
in the tutorial and book. Then again using deprecated is probably a
better idea.

> - variable borders always draw polygons and that look bad in the
> reader. I'm thinking of changing this to lines with some tricks to
> have the same effect with different border color sides.

OK,
br,
Bruno


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to