Rectangle node

pluginIcon

This documentation is for version 2.1 of Rectangle.

Description

Draw a rectangle.

The rectangle is composited with the source image using the ‘over’ operator.

If no source is connected, this effect behaves like a generator. Its region of definition is:

  • The selected format if the Extent parameter is a format.
  • The project output format if Color0 is not black and transparent.
  • The selected extent plus a one-pixel border if Color0 is black and transparent.

See also: http://opticalenquiry.com/nuke/index.php?title=Rectangle

Inputs

Input Description Optional
Source   Yes
Mask   Yes

Controls

Parameter / script name Type Default Function
Extent / extent Choice Size
Extent (size and offset) of the output.
Format: Use a pre-defined image format.
Size: Use a specific extent (size and offset).
Project: Use the project extent (size and offset).
Default: Use the default extent (e.g. the source clip extent, if connected).
Center / recenter Button   Centers the region of definition to the input region of definition. If there is no input, then the region of definition is centered to the project window.
Reformat / reformat Boolean Off Set the output format to the given extent.
Format / NatronParamFormatChoice Choice HD 1920x1080 The output format
Bottom Left / bottomLeft Double x: 0 y: 0 Coordinates of the bottom left corner of the size rectangle.
Size / size Double w: 1 h: 1 Width and height of the size rectangle.
Interactive Update / interactive Boolean Off If checked, update the parameter values during interaction with the image viewer, else update the values when pen is released.
Frame Range / frameRange Integer min: 1 max: 1 Time domain.
Corner Radius / cornerRadius Double x: 0 y: 0 If non-zero, this is the radius of the round corners.
Softness / softness Double 0 Softness of the rectangle edges. Draws an anti-aliased rectangle if zero
Color 0 / color0 Color r: 0 g: 0 b: 0 a: 0  
Color 1 / color1 Color r: 1 g: 1 b: 1 a: 1  
Expand RoD / expandRoD Boolean On Expand the source region of definition by the shape RoD (if Source is connected and color0=(0,0,0,0)).
Invert Mask / maskInvert Boolean Off When checked, the effect is fully applied where the mask is 0.
Mix / mix Double 1 Mix factor between the original and the transformed image.