Skip to main content
Skip table of contents

Draw

Get Text Size

Calculates the width and height of a text string for a specific font as well as scaling and line thickness. Use this node to determine the required space before drawing text with the "Plot Text" node.

Flow

Screenshot 2026-04-23 164611.png

Parameter set

Parameter

Type

Description

Text

String

The text to be measured.

Font Scale

Float

The scaling factor of the font size.

Thickness (Pixel)

Integer

The line thickness of the font in pixels.

Font Face

FontType

The font used.

Width

Integer

The width of the text in pixels.

Height

Integer

The height of the text in pixels.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.