Paragraph

Render multi-line wrapped text

draw 1 credit

Paragraph

Render multi-line wrapped text

Overview

The Paragraph node renders text that wraps within a bounding box. Unlike the Text node, it uses a fixed font size and wraps text to multiple lines. Use it for longer content like descriptions, quotes, or body text.

Usage Tips

  • Set bounding box size to control where text wraps
  • Adjust line_height for tighter (1.0) or looser (2.0) spacing
  • Use alignment: “left”, “center”, or “right”
  • Font size stays fixed - text wraps instead of scaling

Common Pairings

  • Solid Canvas - Create a background for paragraph text
  • Merge - Add paragraphs to image compositions
  • Rectangle - Create a colored text box behind the paragraph

Gotchas

  • Text that doesn’t fit in the bounding box is clipped
  • Font size doesn’t auto-scale - adjust manually if text overflows
  • Line breaks in text content are respected

Technical Reference

Outputs

NameTypeDescription
outputImageRendered paragraph as image

Parameters

NameTypeDefaultDescription
params_sizesizemap[height:600 width:800]Bounding box dimensions
params_texttextLorem ipsum...Paragraph text content
params_fonttextArialFont name
params_font_sizenumber16Font size in points
params_line_heightnumber1.5Line height multiplier
params_aligntextleftText alignment: left, center, right
params_colourcolor#000000Text color
params_shadow_colourcolor#00000088Shadow color (transparent for no shadow)
params_shadow_offset_xnumber2Shadow horizontal offset in pixels
params_shadow_offset_ynumber2Shadow vertical offset in pixels
params_shadow_blurnumber4Shadow blur radius
params_stroke_colourcolor#000000FFStroke/outline color (transparent for no stroke)
params_stroke_widthnumber2Stroke width in pixels