Oink
Nodes

Text2

Text2 — draw text over the input.

raw .md
NodeText2
Type idOC_N_text2
MenuDraw › Text
Nuke classText2
Codeopencomp_core/nodes/draw/text.py

Text2 properties

Inputs and outputs

PortNameType
input 0Imageimage
output 0Imageimage

Knobs

Panel tab Text2, in panel order.

KnobLabelTypeDefaultRange / valuesNuke 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 / valuesNuke 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

Nuke equivalent

Imports from and exports to Nuke's Text2.

Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.

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