Part of stoqlib.reporting.base.flowables View In Hierarchy
Method | __init__ | Creates a new Signature object |
Method | get_draw_string_func | Based on the alignment type, returns a 'text writer' function. |
Method | build_signatures | This is the method that really draw the flowable on the report. |
Method | wrap | Calculate the space required by the flowable. Internal use by |
Method | drawOn | Start drawing the flowable. This method is called internally by |
Parameters | labels | A list of string, with each string representing a signature. |
(type: list ) | ||
align | The signature alignment | |
(type: One of LEFT, CENTER or RIGHT constants ) | ||
line_width | The line width | |
(type: int/float ) | ||
height | How much space before the signature line? | |
(type: int/float ) | ||
text_align | The signature text alignment. | |
(type: One of CENTER, LEFT or RIGHT constants ) | ||
style_data | A string with the paragraph style. | |
(type: One of the styles defined in the default_style module. ) |