Renderables

Text

Text in your fonts, with size, weight, spacing, lines and alignment.

Object type renderable pins

A text is a Shape made of lines of text, drawn with the fonts of the machine showing it. Like every shape it has a fill and a stroke (no stroke by default), and it's placed by its position, rotation and scale.

Hierarchy

Parents
Shape → Renderable
Subtypes
None

Properties

NameTypeNotes
positionPoint from Renderable
rotationnumber from Renderable
scalenumber from Renderable
opacitynumberread-only from Renderable
blendModeBlendModeread-only from Renderable
fillPaint from Shape
strokeStroke from Shape
textstring
fontFamilystring
fallbackFontFallback
fontSizenumber
fontWeightnumber
italicboolean
letterSpacingnumber
lineHeightnumber
alignTextAlign
anchorTextAnchor

Nodes

Break Text

Node id break/Text

Inputs

NameTypeDefaultNotes
objectTexttype default

Outputs

NameTypeNotes
positionPoint
rotationnumber
scalenumber
opacitynumber
blendModeBlendMode
fillPaint
strokeStroke
textstring
fontFamilystring
fallbackFontFallback
fontSizenumber
fontWeightnumber
italicboolean
letterSpacingnumber
lineHeightnumber
alignTextAlign
anchorTextAnchor

Make Text

Node id make/Text

Inputs

NameTypeDefaultNotes
positionPoint{ x: 0, y: 0 }
rotationnumber0
scalenumber1
fillPaint{ r: 128, g: 128, b: 128, a: 1 }
strokeStroke{ width: 0, color: { r: 0, g: 0, b: 0, a: 1 }, dashStyle: "SOLID", caps: "round" }
textstring"Text"
fontFamilystring""
fallbackFontFallback"sans-serif"
fontSizenumber32
fontWeightnumber400
italicbooleanfalse
letterSpacingnumber0
lineHeightnumber1.2
alignTextAlign"start"
anchorTextAnchor"baseline"

Outputs

NameTypeNotes
objectText

Set Text

Node id set/Text

Inputs

NameTypeDefaultNotes
objectTexttype default
positionPoint—
rotationnumber—
scalenumber—
fillPaint—
strokeStroke—
textstring—
fontFamilystring—
fallbackFontFallback—
fontSizenumber—
fontWeightnumber—
italicboolean—
letterSpacingnumber—
lineHeightnumber—
alignTextAlign—
anchorTextAnchor—

Outputs

NameTypeNotes
objectText

Lerp Text

Node id lerp/Text

Inputs

NameTypeDefaultNotes
aTexttype default
bTexttype default
tnumber0.5

Outputs

NameTypeNotes
resultText

Notes

  • Lines. A line break in text starts a new line, lineHeight times the fontSize below the previous one.
  • Fonts. fontFamily names a font (for example Georgia); where it isn't installed, or when it's empty, the text uses the generic FontFallback family instead. The same text can therefore look different on another computer, and so can a downloaded SVG.
  • Weight and italic. fontWeight goes from 1 to 1000 (400 is normal, 700 bold); italic slants it. A font without that weight or style shows the nearest one it has.
  • Spacing. letterSpacing adds space after each character, in px.
  • Placement. TextAlign places each line left of, around or right of the position; TextAnchor says whether the position is at the top, the baseline, the middle or the bottom of the text.
  • Default. Make Text gives "Text" in 32 px sans-serif, gray, starting at its position on the baseline.
  • Boxes. AABB and OOBB give the box of the text as drawn. Text has no outline: path nodes such as Sample or Length report an error.

Lerp

Lerp Text blends the size, letter spacing, line height, transform, fill and stroke. The text itself and the other settings (font, weight, italic, alignment, anchor) come from a below t = 0.5, and from b from 0.5 on. t is clamped to 0, 1.

© 2026 Wirepaint