[reportlab-users] Issues related to setting parameters of graphs, lines, and rectangles, and they are not printing correctly

Robin Becker robin at reportlab.com
Fri Nov 30 05:42:52 EST 2012


The shapes.Line class should allow setting the strokeDashArray

eg

Line(x0,y0,x1,y1,strokeWidth=0.1,strokeColor=pink,strokeDashArray=(1,2,2))

etc etc.


--
Robin Becker

On 30/11/2012 04:46, J. R. Carroll wrote:

> Also, I still need help with:

>

> I found canvas.setDash() for setting dashed lines, but I am using a

>> Drawing() and adding shapes.Lines() to the Drawing, then renderingPDF to my

>> canvas - maybe it is the way I have wrapped everything (wrapped in terms of

>> loops, classes, and functions), but I cannot get shapes.Lines to be dashed

>> (or dotted or any other style other than a Line - which makes sense -

>> kinda)...

>>

>

> If anyone has an answer to this, that would be awesome! (or Tim/Andy if

> you answered and I didn't see it - sorry!)

>

> -J

>

.....


More information about the reportlab-users mailing list