Class s.r.b.f.ReportLine(Flowable):

Part of stoqlib.reporting.base.flowables View In Hierarchy

Just a simple line flowable
Method __init__ Creates a new ReportLine object
Method wrap Calculate the space required by the flowable. Internal use by
Method drawOn Start drawing the flowable. This method is called internally by
def __init__(self, thickness=1, v_margins=5, h_margins=0, dash_pattern=None):
Creates a new ReportLine object
ParametersthicknessThe line thickness
(type: int )
v_marginsHow much vertical space between the line? Defaults to 5
(type: int )
h_marginsHow much horizontal space between the line? Defaults to 0
(type: int )
dash_patternThe line dash pattern.
(type: float )
def wrap(self, avail_width, avail_height):
Calculate the space required by the flowable. Internal use by Reportlab.
def drawOn(self, canvas, x, y, *args, **kwargs):
Start drawing the flowable. This method is called internally by Reportlab
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.