Skip to content

Shape

Node icon
Generator

Generates geometric shapes (rectangle, circle, ellipse, polygon, or star) with optional fill and stroke.

The Shape node's shape types (Rectangle, Circle, Ellipse, Polygon, and Star) at a range of sizes.
A grid of shapes rendered by the Shape node: rectangles, circles, ellipses, polygons, and stars.

Shape draws from a signed distance field, so outlines stay exact at any size or rotation and a stroke follows the true edge of the shape. Use it for masks, simple graphics, and structural pieces of a procedural graph. Besides the image, it publishes the shape’s coverage on a separate Alpha output, which ignores the Background fill.

Drag the shape in the preview to move, scale, and rotate it instead of typing into the fields. Dragging turns Lock Center off, since the shape is no longer centered; with Lock Size to Output on, the shape’s box always matches the canvas, so unlock it first to make the shape smaller than the output.

A positive Rotation turns the shape clockwise on screen, the same way as Transform’s Rotate and every rotation ring on the Preview. Before ArcBrush 1.7.2 Shape turned the other way; a Shape from an older document, preset, or copied node has its angle converted when it opens or is pasted (30 becomes 330), so it draws exactly the picture it did.

Wire a picture into the optional Background input and the shape is drawn straight over it, at the picture’s size and depth, with no Composite node. Nothing changes while the input is empty.

  • Output Mode, Blend, and Opacity join the Output section, under Color Mode, while a background is wired. Output Mode is Composite, or Shape Only for the shape alone at the picture’s size. Shape starts at Normal and full opacity, since a shape is a solid you place, and its own Background color rows step aside while a picture is wired.
  • Size. The background sets the size, so Width and Height (and a wired Size Reference) are grayed.
  • Mask. An optional Mask input says where the shape appears; Mask From and Mask Fit show while one is wired. With no background, the mask fades the shape itself.
  • Transparent areas. Opacity 0 returns the picture unchanged, and the shape adds its own coverage where it lands.
  • Depth and channels follow the picture. A 32-bit picture stays 32-bit, and a grayscale picture stays grayscale. A batch of pictures or trims keeps each frame’s name, color, and place on the sheet.
  • The Alpha output stays the shape’s own coverage in every mode.
  • On a texture set, a Map row heads the Output section: pick Base Color, Roughness, Metallic, Ambient Occlusion, Height, or Emissive, and the shape draws into that map only while every other map and the Opacity pass through. The Normal and the Opacity are not offered. See Drawing into one map.

Pins

BackgroundPixels or Texture
InputOptional
MaskMask
InputOptional
Size RefSize Reference
InputOptional
ImagePixels or Texture
Output
AlphaMask
Output

Shape

Shape TypeChoice
Default: Circle

Shape type to rasterize

  • RectangleA rectangle with optional rounded corners.
  • CircleA perfect circle that fills the bounding box.
  • EllipseAn oval that stretches to fill the bounding box.
  • PolygonA regular polygon with a configurable number of sides (3–32).
  • StarA star shape with configurable point count and inner radius.
RotationNumber
Default: 0.0 Range: 0.0–360.0
All shapes except Circle

Clockwise rotation of the shape in degrees

Anti-aliasingToggle
Default: true

Smooth shape edges.

Turn it off for crisp, pixel-perfect edges, best for pixel art and small canvases. Diagonals, circles, and rotated shapes look blocky when it is off.

Shape Width (%)Integer
Default: 100 Range: 1–100
Tile layout only

Shape width as a percentage of the cell width

Shape Height (%)Integer
Default: 100 Range: 1–100
Tile layout, rectangle/ellipse only

Shape height as a percentage of the cell height

Lock Size to OutputToggle
Default: true
Single layout only

Size the shape to fill the output image. Turn off to set Shape Width and Height yourself

Shape WidthInteger · px/%
Default: 512 Range: 1–16384 px / 0–100%
Single layout, Lock Size off

Shape bounding box width

Shape HeightInteger · px/%
Default: 512 Range: 1–16384 px / 0–100%
Single layout, Lock Size off, rectangle/ellipse only

Shape bounding box height

Corner RadiusInteger · px/%
Default: 0 Range: 0–2048 px / 0–100%
Rectangle only

Rounded corner radius (Rectangle only)

SidesInteger
Default: 6 Range: 3–32
Polygon only

Number of sides for the regular polygon

PointsInteger
Default: 5 Range: 3–16
Star only

Number of points on the star

Inner RatioNumber
Default: 0.40 Range: 0.01–0.99
Star only

Inner radius ratio. 0.01 = very spiky star, 0.99 = almost circular

Layout

LayoutChoice
Default: Single Range: Single / Tile
  • Single: one shape at a specific position.
  • Tile: repeat the shape in a grid pattern.
ColumnsInteger
Default: 4 Range: 1–32
Tile layout only

Number of columns in the tile grid

RowsInteger
Default: 4 Range: 1–32
Tile layout only

Number of rows in the tile grid

SpacingInteger · px/%
Default: 0 Range: 0–200 px / 0–100%
Tile layout only

Gap between grid cells

PaddingInteger · px/%
Default: 0 Range: 0–500 px / 0–100%
Tile layout only

Margin around the edges of the output image

Output

Width (px)Integer
Default: 512 Range: 1–16384

Width of the output image in pixels.

Overridden when size_ref is connected.

Height (px)Integer
Default: 512 Range: 1–16384

Height of the output image in pixels.

Overridden when size_ref is connected.

Color ModeChoice
Default: RGBA

A grayscale output may be re-promoted to color by a downstream color node

  • RGBAOutput a full-color RGBA image. The default.
  • GrayscaleOutput a single-channel image directly, so you can build a mask, height field, or single-channel chain without adding a conversion node. The color pickers become gray sliders.
MapChoice
Default: Base Color
Texture set or library wired

Which map of the texture set this node edits. Every other map passes through unchanged. Shown while a texture set or a library is wired

  • Base ColorDraw into the set's Base Color. The default.
  • NormalListed but grayed: the Normal is a direction, not a tone.
  • RoughnessDraw into the set's Roughness only, such as grunge in the roughness.
  • MetallicDraw into the set's Metallic only.
  • Ambient OcclusionDraw into the set's Ambient Occlusion only.
  • HeightDraw into the set's Height only.
  • OpacityListed but grayed: the Opacity is the set's cutout, which Mask Apply edits.
  • EmissiveDraw into the set's Emissive only.
Output ModeChoice
Default: Composite
Background connected
  • Shape OnlyOutput the shape alone, at the background's size.
  • CompositeDraw the shape over the background with Blend Mode and Opacity (Normal at 1.00 to start). The default.
Blend ModeChoice
Default: Normal Range: Normal / Multiply / Screen / Overlay / Linear Dodge (Add) / Subtract / Difference / Hard Light / Soft Light / Darken / Lighten / Color Dodge / Color Burn / Exclusion / Hue / Saturation / Color / Luminosity
Composite, Background connected

How the shape blends over the background

OpacityNumber
Default: 1.00 Range: 0.00–1.00
Composite, Background connected

How strongly the shape shows over the background. 0 returns the background unchanged

Position

Position XInteger · px/%
Default: 256 Range: -16384–16384 px / -100–200%
Single layout, Lock Center off

X position of the shape center

Position YInteger · px/%
Default: 256 Range: -16384–16384 px / -100–200%
Single layout, Lock Center off

Y position of the shape center

Lock CenterToggle
Default: true
Single layout only

Keep the shape centered in the output image, even when the output size changes. Dragging the shape in the Preview turns this off

Fill

FillColor (RGBA)
Default: rgba(255, 255, 255, 255)
Fill on

Fill color

FillToggle
Default: true

Enable solid fill on the shape interior

Fill GrayNumber
Default: 1 (white) Range: 0–1, typed -16 to 16 (8-bit: 0–255)
Grayscale mode, Fill on

Gray level of the shape interior in Grayscale mode, from black to white. In a 32-bit document the slider runs from 0 to 1, and a typed value can go from -16 to 16

Stroke

StrokeToggle
Default: false

Enable stroke outline on the shape edge

StrokeColor (RGBA)
Default: rgba(0, 0, 0, 255)
Stroke on

Stroke color

Stroke WidthInteger · px/%
Default: 2 Range: 1–500 px / 0–100%
Stroke on

Stroke thickness

AlignmentChoice
Default: Outside
Stroke on

Whether the stroke grows inside, outside, or centered on the shape edge

  • InsideStroke grows inward from the shape edge, so total size stays the same.
  • CenterStroke straddles the edge: half inside, half outside.
  • OutsideStroke grows outward from the shape edge, so total size increases.
StyleChoice
Default: Solid Range: Solid / Dashed / Dotted
Stroke on
  • Solid: one continuous outline.
  • Dashed: repeating dashes with a gap between them.
  • Dotted: round dots spaced along the outline.
Dash LengthNumber · px/%
Default: 12.0 Range: 0.0–2048.0 px / 0–100%
Style = Dashed

Length of each dash measured along the outline

GapNumber · px/%
Default: 8.0 Range: 0.0–2048.0 px / 0–100%
Style = Dashed or Dotted

Space between dashes measured along the outline. In Dotted style this is the distance from the center of one dot to the center of the next

Dash CapsChoice
Default: Butt Range: Butt / Round / Square
Style = Dashed
  • Butt: flat ends, exactly the dash length.
  • Round: semicircular ends, extending half the stroke width past each end.
  • Square: flat ends, extending half the stroke width past each end.
OffsetNumber
Default: 0 Range: 0–100
Style = Dashed or Dotted

Shift the pattern along the outline. 100% advances by exactly one dash plus one gap

Fit Dashes to OutlineToggle
Default: true
Style = Dashed or Dotted

Stretch the pattern slightly so a whole number of dashes fits the outline. Turn off to keep the exact lengths you typed, which can leave a short dash where the pattern wraps

Stroke GrayNumber
Default: 0 (black) Range: 0–1, typed -16 to 16 (8-bit: 0–255)
Grayscale mode, Stroke on

Gray level of the stroke outline in Grayscale mode, from black to white. In a 32-bit document the slider runs from 0 to 1, and a typed value can go from -16 to 16

Background

BackgroundColor (RGBA)
Default: rgba(0, 0, 0, 0)

Background color

Background GrayNumber
Default: 0 (black) Range: 0–1, typed -16 to 16 (8-bit: 0–255)
Grayscale mode

Background gray level in Grayscale mode, from black to white. 0 (default) leaves the canvas at zero outside the shape. In a 32-bit document the slider runs from 0 to 1, and a typed value can go from -16 to 16

Mask

Mask FromChoice
Default: Luminance
Color image connected to the mask input

How the connected color image is read as a mask

  • LuminanceRead the image's brightness as the mask. The default.
  • AlphaRead the image's transparency as the mask.
  • RedUse the red channel as the mask.
  • GreenUse the green channel as the mask.
  • BlueUse the blue channel as the mask.
Mask FitChoice
Default: None (native size)
Mask connected

How the mask is sized when it doesn't match the image

  • None (native size)Center the mask at its native size, with no resizing. Unmasked regions are unaffected.
  • StretchStretch the mask to exactly match the image dimensions. May distort the mask shape.
  • Fit (letterbox)Scale the mask to fit inside the image, preserving aspect ratio. Letterboxes where needed.
  • Fill (crop)Scale the mask to fill the image, preserving aspect ratio. Crops edges if aspect ratios differ.
Notes
  • Some parameters are only visible depending on the current settings. Corner Radius only appears for rectangles. Sides only appears for polygons. Points and Inner Ratio only appear for stars. Stroke settings only appear when Stroke is enabled. In Single layout mode you can set the shape size and position. In Tile layout mode you can set columns, rows, and spacing instead.
  • Turn Fill off and Stroke on for rings and outlines.
  • Set Style to Dashed with Fit Dashes to Outline on for cut lines, selection outlines, and technical callouts that close cleanly at any shape size.
  • Use Corner Radius on a rectangle for rounded rectangles; a radius of half the shorter side makes a pill.
  • Set Color Mode to Grayscale for a crisp single-channel image, a quick way to author masks and height fields. In a 32-bit project the Fill, Stroke, and Background grays are full precision; see Gray levels keep full precision.
  • Give the Background an opaque color to flatten the shape onto a solid plate in one node, instead of adding a Canvas and a Composite behind it.
  • Feed an antialiased Shape straight into Bevel to turn it into a height ramp and normal map; the smooth edge is exactly the sub-pixel input Bevel reads.