Oink
Text2 Text2

Text2

Draw text over the input.

raw .md
NodeText2
MenuDraw › Text
Names in each format
.oink comp (JSON)"type": "OC_N_text2"
.nk scriptText2 (how .nk import works)
Pythonnuke.createNode("Text2")
Assistant (MCP)create_node(type="Text2")
Tab searchtext2, or its initials t2

Text2 properties

Inputs and outputs

PortNameType
input 0Imageimage
output 0Imageimage

Knobs

Panel tab Text2, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
messagemessagetextmessage
fontfonttextfont
font_sizefont sizefloat1000 to 500font_size
xjustifyxjustifymenuleftleft, center, right, justifyxjustify
yjustifyyjustifymenutoptop, center, bottom, baselineyjustify
boxboxvector ×40, 0, 0, 0-10000 to 10000box
colorcolorcolour ×41, 1, 1, 10 to 1color
opacityopacityfloat10 to 1opacity
leadingleadingfloat0-1 to 1leading
translatetranslatevector ×20, 0-10000 to 10000translate
global_font_scaleglobal font scalefloat10 to 4global_font_scale

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / values.nk knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring

Examples

Open these from Help › Examples…, or from the ? menu in this node's Properties panel.

  • Tracker to CornerPin (examples/transform/tracker_cornerpin.oink): Four points tracked on a moving plate, exported as an animated CornerPin that carries a text patch along with the move.

On this page