[reportlab-users] How to draw lines between flowables?

Andy Robinson andy at reportlab.com
Wed Feb 9 12:15:01 EST 2005


> Ok, well I thought about it some more and thought why not just wrap
> the line drawing in a Flowable class.  So I did this and came up with
> ...
That would work, but it seems we already put one in 
reportlab/platypus/flowables.py at some point; you
could use this:


class HRFlowable(Flowable):
    '''Like the hr tag'''
    def __init__(self,
            width="80%",
            thickness=1,
            lineCap='round',
            color=lightgrey,
            spaceBefore=1, spaceAfter=1,
            hAlign='CENTER', vAlign='BOTTOM'):

Best Regards,

Andy Robinson


More information about the reportlab-users mailing list