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

J. R. Carroll jrcarroll at jrcresearch.net
Fri Nov 30 09:25:33 EST 2012


Awesome!! That's pretty simple, sad I overlooked that. I kept looking for
a canvas.setDash() technique rather than setting within the class Line().

Thank ya much,


----


J. R. Carroll
Independent Researcher through Hurtz Labs
Research Methods, Test Development, and Statistics
www.jrcresearch.net
Cell: (650) 776-6613
Email: jrcarroll at jrcresearch.net
jrcarroll at hurtzlab.com
jrc.csus at gmail.com





On Fri, Nov 30, 2012 at 5:42 AM, Robin Becker <robin at reportlab.com> wrote:


> 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

>>

>> .....

>

> ______________________________**_________________

> reportlab-users mailing list

> reportlab-users at lists2.**reportlab.com<reportlab-users at lists2.reportlab.com>

> http://two.pairlist.net/**mailman/listinfo/reportlab-**users<http://two.pairlist.net/mailman/listinfo/reportlab-users>

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20121130/64cb2323/attachment.html>


More information about the reportlab-users mailing list