[reportlab-users] BOX, double line, line joint

Matt Folwell mjf at pearson.co.uk
Mon Jun 7 06:11:44 EDT 2010


On 06/06/2010 08:15, Laszlo KREKACS wrote:

> Dear List,

>

> I would like to make a simple table, with double lines around it.

> Like this:

> http://farm5.static.flickr.com/4035/4673529025_1c2baa01f8_b.jpg

>

> No matter how I set the

> ('BOX', (0,0), (-1,-1), 3, colors.black, 0, None, None, 2, 2),

>


Box and grid style commands are broken down into a series of line
commands, so they aren't going to meet correctly with count > 1.

You can get the effect you want by using:
('BOX', (0, 0), (-1, -1), 6, colors.black),
('BOX', (0, 0), (-1, -1), 2, colors.white),

--
Matt Folwell


More information about the reportlab-users mailing list