Text

Produces a styled text string carrying all typographic attributes.

Use the Text to Vector node to convert this into vector geometry if desired.

Interface

Inputs

ParameterDetailsPossible Types
-No Primary Input-
Text

The text content to be drawn.

Default: Lorem ipsum

String[]
String
Font

The loaded font file used to draw the text. The editor resolves the chosen typeface to these bytes via the resource system.

Default: TypeDefault(Resource)

Resource[]
Resource
Size

The font size used to draw the text.

Default: 24 px

f64[]
f64
Line Height

The line height ratio, relative to the font size. Each line is drawn lower than its previous line by the distance of Size × Line Height.

0 means all lines overlap. 1 means all lines are spaced by just the font size. 1.2 is a common default for readable text. 2 means double-spaced text.

Default: 1.2x

f64[]
f64
Letter Spacing

Additional spacing, in pixels, added between each character.

Default: 0 px

f64[]
f64
Letter Tilt

The angle of faux italic slant applied to each glyph.

Default: 

f64[]
f64
Has Max Width

Enables the maximum width constraint so lines can wrap.

Default: false

bool[]
bool
Max Width

The maximum width that the text block can occupy before wrapping to a new line. Otherwise, lines do not wrap.

Default: 0 px

f64[]
f64
Has Max Height

Whether the Max Height property is enabled so that lines beyond it are not drawn.

Default: false

bool[]
bool
Max Height

The maximum height that the text block can occupy. Excess lines are not drawn.

Default: 0 px

f64[]
f64
Align

The horizontal alignment of each line of text within its surrounding box. To have an effect on a single line of text, Max Width must be set.

Default: AlignLeft

TextAlign[]
TextAlign

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

String
String[]