pixie.paragraph()
Syntax
paragraph(txt, x, y, width, pt=15, slant=0.5, line=False)
Description
Draws the string txt in handwriting, positioned at x, y with the given width, font size pt. The slant argument controls the speed at which Pixie writes. The lineheight setting of spacing() is taken into account, and words supplied to keywords() are framed in a border. The text is drawn in color().
The paragraph() command returns an (x,y) 2-tuple where the paragraph ends.
Example
pixie = ximport("pixie")
txt += "Pixie was originally a part of the Aunt Hillary code package,"
txt += "a handwriting that looks different each time, contains mistakes,"
txt += "has wobbly baselines and variable color pressure."
pixie.paragraph(txt, 20, 20, 200, pt=15)