Sets the spacing between the lines contained in the text object. The default global line spacing can be specified with the viz.text.line_spacing option. The default value of the option is 0.
haiku = """
An old silent pond...
A frog jumps into the pond,
splash! Silence again.
"""
# Create text object
text = viz.addText(haiku,parent=viz.ORTHO,fontSize=20,pos=(50,150,0))
# Set spacing to 50% of character height
text.setLineSpacing(0.5)