search
Start typing to search...

Painting Modules

Author: Aximmetry

Introduction

This document describes the built-in Flow Graph modules of the following categories for compounds:

  • Painting / Scene - Modules that create and organize 2D painting scenes and layered visual content.
  • Painting / Tools - Modules that provide painting tools for brush behavior and stroke control.
  • Painting / Shapes - Modules that generate geometric shapes for procedural drawing workflows.
  • Painting / Drawing - Modules that host interactive touch and mouse drawing in paint scenes.

Painting / Scene

This section describes the built-in Flow Graph modules that create and organize 2D painting scenes and layered visual content.

Paint Node

  • Category: Painting / Scene
  • Access: All editions.
  • Function: Represents a node in a 2D paint scene hierarchy and propagates brush, pen, and text formatting to attached paint objects.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Transformation (transformation) - Local transformation applied to this paint object.
    • ⏺  Brush (brush) - Brush assigned to this node and inherited by attached paint objects.
    • ⏺  Pen (pen) - Pen assigned to this node and inherited by attached paint objects.
    • ⏺  Text Format (text format) - Text format assigned to this node and inherited by attached paint objects.
  • Output pins:
    • ⏺  World Transf (transformation) - World transformation of this paint object after parent transforms are applied.
    • ⏺  World Pos (vector) - World-space position of this paint object.
    • ⏺  Children (paint object child reference) - Connect child paint objects here so this node updates and propagates tools to them.

Paint View

  • Category: Painting / Scene
  • Access: All editions.
  • Function: Renders a 2D paint scene hierarchy into a video output using this view's transform, background, visibility group, and frame size settings.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Transformation (transformation) - Local transformation applied to this paint object.
    • ⏺  Pixel Mode (logical) - When on, renders in pixel mode for pixel-aligned drawing.
    • ⏺  Bg Color (color) - Background color used to clear the output before drawing the scene.
    • ⏺  Visibility Group (integer) - Selects which visibility group of paint objects this view renders.
    • ⏺  Out Size (vector) - Output frame size of the rendered image.
  • Output pins:
    • ⏺  World Transf (transformation) - World transformation of this paint object after parent transforms are applied.
    • ⏺  World Pos (vector) - World-space position of this paint object.
    • ⏺  Out (video) - Rendered image of the visible paint scene from this view.

Painting / Tools

This section describes the built-in Flow Graph modules that provide painting tools for brush behavior and stroke control.

Lin Grad Brush

  • Category: Painting / Tools
  • Access: All editions.
  • Function: Supplies a linear gradient brush with configurable axis points.
  • Input pins:
    • ⏺  Transformation (transformation) - Transformation applied to the gradient brush.
    • ⏺  Opacity (scalar) - Overall opacity of the brush.
    • ⏺  Gradient (color curve) - Color curve used as gradient stops and extend behavior.
    • ⏺  Start Point (vector) - Start point of the linear gradient axis.
    • ⏺  End Point (vector) - End point of the linear gradient axis.
  • Output pins:
    • ⏺  Out (brush) - The resulting brush resource.

Pen

  • Category: Painting / Tools
  • Access: All editions.
  • Function: Supplies a stroke pen with configurable stroke style and width.
  • Input pins:
    • ⏺  Brush (brush) - Brush used to paint the stroke.
    • ⏺  Width (scalar) - Stroke width of the pen.
    • ⏺  Start Cap (integer, Pen Cap Style) - Cap style used at the start of open strokes.
    • ⏺  End Cap (integer, Pen Cap Style) - Cap style used at the end of open strokes.
    • ⏺  Dash Cap (integer, Pen Cap Style) - Cap style used at the ends of dash segments.
    • ⏺  Line Join (integer, Pen Line Join) - Join style used where stroke segments meet.
    • ⏺  Miter Limit (scalar) - Miter limit applied when the line join uses miter corners.
    • ⏺  Dash Style (integer, Pen Dash Style) - Dash pattern preset used for the stroke.
    • ⏺  Custom Dash (vector) - Custom dash segment lengths used when DashStyle is set to Custom.
    • ⏺  Dash Offset (scalar) - Offset of the dash pattern along the stroke.
  • Output pins:
    • ⏺  Out (pen) - The resulting pen resource.

Rad Grad Brush

  • Category: Painting / Tools
  • Access: All editions.
  • Function: Supplies a radial gradient brush with configurable center, origin offset, and radii.
  • Input pins:
    • ⏺  Transformation (transformation) - Transformation applied to the gradient brush.
    • ⏺  Opacity (scalar) - Overall opacity of the brush.
    • ⏺  Gradient (color curve) - Color curve used as gradient stops and extend behavior.
    • ⏺  Center (vector) - Center point of the radial gradient ellipse.
    • ⏺  Origin Offs (vector) - Offset of the gradient origin from the center point.
    • ⏺  Radii (vector) - Horizontal and vertical radii of the radial gradient ellipse.
  • Output pins:
    • ⏺  Out (brush) - The resulting brush resource.

Solid Brush

  • Category: Painting / Tools
  • Access: All editions.
  • Function: Supplies a solid-color brush.
  • Input pins:
    • ⏺  Color (color) - Color of the brush.
  • Output pins:
    • ⏺  Out (brush) - The resulting brush resource.

Text Format

  • Category: Painting / Tools
  • Access: All editions.
  • Function: Supplies a reusable text format for painting text layout and typography.
  • Input pins:
    • ⏺  Font Family (text) - Font family name used for text layout.
    • ⏺  Font Size (scalar) - Font size used for text layout.
    • ⏺  Font Weight (integer, Font Weight) - Font weight used for text layout.
    • ⏺  Font Style (integer, Font Style) - Font style used for text layout.
    • ⏺  Font Stretch (integer, Font Stretch) - Font stretch used for text layout.
    • ⏺  Font Locale (text) - Locale used for text shaping and language-specific layout behavior.
    • ⏺  Text Alignment (integer, Text Alignment) - Horizontal text alignment inside the layout box.
    • ⏺  Paragraph Alignment (integer, Paragraph Alignment) - Vertical paragraph alignment inside the layout box.
    • ⏺  Char Leading Spacing (scalar) - Additional leading-side spacing applied to each character.
    • ⏺  Char Trailing Spacing (scalar) - Additional trailing-side spacing applied to each character.
    • ⏺  Char Min Avance Width (scalar) - Minimum character advance width used during layout.
    • ⏺  Use Line Spacing (logical) - When on, applies the custom baseline and line spacing values.
    • ⏺  Base Line (scalar) - Baseline value used when custom line spacing is enabled.
    • ⏺  Line Spacing (scalar) - Line spacing value used when custom line spacing is enabled.
    • ⏺  Reading Direction (integer, Reading Direction) - Reading direction used for text layout.
    • ⏺  Word Wrapping (integer, Word Wrapping) - Word wrapping mode used for text layout.
    • ⏺  Trimming (integer, Text Trimming) - Text trimming mode used when text exceeds available space.
  • Output pins:
    • ⏺  Out (text format) - The resulting text format resource.

Painting / Shapes

This section describes the built-in Flow Graph modules that generate geometric shapes for procedural drawing workflows.

Paint Ellipse

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Paints an ellipse shape.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Center (vector) - Center point of the ellipse.
    • ⏺  Radii (vector) - Horizontal and vertical radii of the ellipse.
  • Output pins:

Paint Line

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Paints a straight line segment.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Pen (pen) - Pen used to draw the line.
    • ⏺  Start (vector) - Start point of the line.
    • ⏺  End (vector) - End point of the line.
  • Output pins:

Paint Path

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Paints a path shape built from a chained sequence of path elements.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Start (vector) - Start point of the path figure.
    • ⏺  Closed (logical) - When on, closes the path figure; when off, leaves it open.
  • Output pins:
    • ⏺  First (path element reference) - Connect this output to the first path element in the chain.

Paint Rectangle

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Paints an axis-aligned rectangle.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Left Top (vector) - Top-left corner of the rectangle.
    • ⏺  Right Bottom (vector) - Bottom-right corner of the rectangle.
  • Output pins:

Paint Round Rect

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Paints an axis-aligned rounded rectangle.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Left Top (vector) - Top-left corner of the rectangle.
    • ⏺  Right Bottom (vector) - Bottom-right corner of the rectangle.
    • ⏺  Radii (vector) - Horizontal and vertical corner radii.
  • Output pins:

Paint Text

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Paints text inside a rectangular region.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Text Format (text format) - Text format used for layout and typography.
    • ⏺  Brush (brush) - Brush used to paint the text.
    • ⏺  Text (text) - Text to render.
    • ⏺  Left Top (vector) - Top-left corner of the text region.
    • ⏺  Right Bottom (vector) - Bottom-right corner of the text region.
    • ⏺  Clip (logical) - When on, clips rendering to the text region.
    • ⏺  Snap To Pixels (logical) - When on, snaps text rendering to pixel boundaries.
  • Output pins:

Path Arc

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Adds an elliptical arc segment to a path chain.
  • Input pins:
    • ⏺  Prev (path element reference) - Previous path element in the chain.
    • ⏺  End (vector) - End point of this path segment.
    • ⏺  Radii (vector) - Horizontal and vertical radii used by the arc segment.
    • ⏺  Rotation (scalar) - Rotation angle of the arc ellipse in degrees.
    • ⏺  Clockwise (logical) - Sweep direction of the arc segment.
    • ⏺  Large (logical) - Selects the larger arc when on, otherwise the smaller arc.
  • Output pins:
    • ⏺  Next (path element reference) - Connects to the next path element in the chain.

Path Arc Helper

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Builds arc endpoint and arc parameter values from center, angle, radii, and direction inputs.
  • Input pins:
    • ⏺  Center (vector) - Center point of the source ellipse.
    • ⏺  Angle Start (scalar) - Start angle of the arc in degrees.
    • ⏺  Angle End (scalar) - End angle of the arc in degrees.
    • ⏺  Radii (vector) - Horizontal and vertical radii of the source ellipse.
    • ⏺  Clockwise (logical) - Arc sweep direction.
  • Output pins:
    • ⏺  Start (vector) - Computed start point of the arc.
    • ⏺  End (vector) - Computed end point of the arc.
    • ⏺  Radii (vector) - Arc radii passed through for path-arc construction.
    • ⏺  Clockwise (logical) - Arc sweep direction passed through for path-arc construction.
    • ⏺  Large (logical) - On when the arc span is at least 180 degrees.

Path Auto Bezier

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Adds a cubic Bezier segment with automatically generated control points.
  • Input pins:
    • ⏺  Prev (path element reference) - Previous path element in the chain.
    • ⏺  End (vector) - End point of this path segment.
  • Output pins:
    • ⏺  Next (path element reference) - Connects to the next path element in the chain.

Path Bezier

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Adds a cubic Bezier segment with explicit control points.
  • Input pins:
    • ⏺  Prev (path element reference) - Previous path element in the chain.
    • ⏺  End (vector) - End point of this path segment.
    • ⏺  Control 1 (vector) - First Bezier control point.
    • ⏺  Control 2 (vector) - Second Bezier control point.
  • Output pins:
    • ⏺  Next (path element reference) - Connects to the next path element in the chain.

Path Line

  • Category: Painting / Shapes
  • Access: All editions.
  • Function: Adds a straight segment to a path chain.
  • Input pins:
    • ⏺  Prev (path element reference) - Previous path element in the chain.
    • ⏺  End (vector) - End point of this path segment.
  • Output pins:
    • ⏺  Next (path element reference) - Connects to the next path element in the chain.

Painting / Drawing

This section describes the built-in Flow Graph modules that host interactive touch and mouse drawing in paint scenes.

Draw Arrow

  • Category: Painting / Drawing
  • Access: All editions.
  • Function: Interactive drawing tool that draws a filled arrowhead from the captured touch or mouse stroke direction.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Tool (integer) - Tool index this drawing item responds to in DrawNode.
    • ⏺  Show Drawing (logical) - When on, shows this item's geometry while the stroke is in progress.
    • ⏺  Show Finished (logical) - When on, keeps this item's geometry visible after the stroke is finished.
    • ⏺  Tail (logical) - When on, places the arrowhead at the stroke start; when off, at the stroke end.
    • ⏺  Length (scalar) - Length of the arrowhead.
    • ⏺  Width (scalar) - Half-width of the arrowhead base.
    • ⏺  Bevel (scalar) - Bevel distance from the tip toward the base corners.
    • ⏺  Rotation (scalar) - Reserved rotation input.
    • ⏺  Straight (logical) - When on, derives direction from only the first and last sample points.
    • ⏺  Smooth (logical) - When on and Straight is off, smooths sampled stroke points before deriving direction.
    • ⏺  Smooth Grain (scalar) - Sampling grain used by smoothing when Smooth is on.
  • Output pins:
    • ⏺  Active Items (integer) - Number of currently visible items produced by this drawing module.

Draw Circle

  • Category: Painting / Drawing
  • Access: All editions.
  • Function: Interactive drawing tool that draws a circle from the first and last touch or mouse stroke points.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Tool (integer) - Tool index this drawing item responds to in DrawNode.
    • ⏺  Show Drawing (logical) - When on, shows this item's geometry while the stroke is in progress.
    • ⏺  Show Finished (logical) - When on, keeps this item's geometry visible after the stroke is finished.
  • Output pins:
    • ⏺  Active Items (integer) - Number of currently visible items produced by this drawing module.

Draw Eraser

  • Category: Painting / Drawing
  • Access: All editions.
  • Function: Interactive drawing tool that erases finished drawing groups at the current touch or mouse stroke position.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Tool (integer) - Tool index this drawing item responds to in DrawNode.
    • ⏺  Show Drawing (logical) - When on, shows this item's geometry while the stroke is in progress.
    • ⏺  Show Finished (logical) - When on, keeps this item's geometry visible after the stroke is finished.
    • ⏺  Tolerance (scalar) - Hit-test tolerance used when checking whether shapes are erased.
  • Output pins:
    • ⏺  Active Items (integer) - Number of currently visible items produced by this drawing module.

Draw Freehand

  • Category: Painting / Drawing
  • Access: All editions.
  • Function: Interactive drawing tool that draws a freehand stroke from captured touch or mouse points.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Tool (integer) - Tool index this drawing item responds to in DrawNode.
    • ⏺  Show Drawing (logical) - When on, shows this item's geometry while the stroke is in progress.
    • ⏺  Show Finished (logical) - When on, keeps this item's geometry visible after the stroke is finished.
    • ⏺  Snake (logical) - When on, keeps only the most recent portion of the stroke.
    • ⏺  Snake Length (scalar) - Maximum kept stroke length when Snake is on.
    • ⏺  Smooth (logical) - When on, approximates the stroke with Bezier segments.
    • ⏺  Smooth Grain (scalar) - Smoothing grain that controls Bezier sampling density.
    • ⏺  Closed (logical) - When on, closes the stroke into a closed figure.
  • Output pins:
    • ⏺  Active Items (integer) - Number of currently visible items produced by this drawing module.

Draw Line

  • Category: Painting / Drawing
  • Access: All editions.
  • Function: Interactive drawing tool that draws a straight segment from the stroke's first and last touch or mouse points.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Tool (integer) - Tool index this drawing item responds to in DrawNode.
    • ⏺  Show Drawing (logical) - When on, shows this item's geometry while the stroke is in progress.
    • ⏺  Show Finished (logical) - When on, keeps this item's geometry visible after the stroke is finished.
  • Output pins:
    • ⏺  Active Items (integer) - Number of currently visible items produced by this drawing module.

Draw Node

  • Category: Painting / Drawing
  • Access: All editions.
  • Function: Hosts interactive touch and mouse drawing as a paint-scene node rendered through PaintView, using tool-based child Draw modules and layered output.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Transformation (transformation) - Local transformation applied to this paint object.
    • ⏺  Brush (brush) - Brush assigned to this node and inherited by attached paint objects.
    • ⏺  Pen (pen) - Pen assigned to this node and inherited by attached paint objects.
    • ⏺  Text Format (text format) - Text format assigned to this node and inherited by attached paint objects.
    • ⏺  Touch Receiver (touch reference) - Touch receiver source whose events are forwarded to child touch clients.
    • ⏺  Area (vector) - Optional drawing area rectangle; input outside this area is ignored.
    • ⏺  Tool (integer) - Active tool index used to select matching child drawing modules.
    • ⏺  Active Layer (integer) - Active layer index for drawing when dynamic layers are off (0 disables drawing).
    • ⏺  Visible Layers (integer) - Bitmask of non-active layers that remain visible in the output.
    • ⏺  Dyn Layers (logical) - When on, selects active layers by dynamic layer cursor positions.
    • ⏺  Dyn Layer Toler (double precision scalar) - Maximum distance for matching the dynamic layer cursor to an existing layer.
    • ⏺  Dyn Layer Cursor (double precision scalar) - Current dynamic layer cursor position used for layer matching.
    • ⏺  Clear (trigger) - When triggered, clears the active layer and cancels in-progress drawings.
    • ⏺  Back (trigger) - When triggered, cancels in-progress drawings or removes the last finished drawing group.
  • Output pins:
    • ⏺  World Transf (transformation) - World transformation of this paint object after parent transforms are applied.
    • ⏺  World Pos (vector) - World-space position of this paint object.
    • ⏺  Children (paint object child reference) - Connect child paint objects here so this node updates and propagates tools to them.
    • ⏺  Drawing (logical) - On while at least one drawing stroke is in progress.
    • ⏺  Changed (trigger) - Triggered when visible drawing content changes.

Draw Polygon

  • Category: Painting / Drawing
  • Access: All editions.
  • Function: Interactive drawing tool that draws a polygon across multiple touch or mouse passes.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Tool (integer) - Tool index this drawing item responds to in DrawNode.
    • ⏺  Show Drawing (logical) - When on, shows this item's geometry while the stroke is in progress.
    • ⏺  Show Finished (logical) - When on, keeps this item's geometry visible after the stroke is finished.
    • ⏺  Segments (integer) - Number of polygon sides; this also sets how many touch passes are required.
  • Output pins:
    • ⏺  Active Items (integer) - Number of currently visible items produced by this drawing module.

Draw Rectangle

  • Category: Painting / Drawing
  • Access: All editions.
  • Function: Interactive drawing tool that draws an axis-aligned rectangle from the stroke's first and last touch or mouse points.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Tool (integer) - Tool index this drawing item responds to in DrawNode.
    • ⏺  Show Drawing (logical) - When on, shows this item's geometry while the stroke is in progress.
    • ⏺  Show Finished (logical) - When on, keeps this item's geometry visible after the stroke is finished.
  • Output pins:
    • ⏺  Active Items (integer) - Number of currently visible items produced by this drawing module.

Draw Text

  • Category: Painting / Drawing
  • Access: All editions.
  • Function: Interactive drawing tool that draws text outlines at the touch or mouse stroke position.
  • Input pins:
    • ⏺  Parent (paint object child reference) - Connects this paint object to a parent paint node in the scene hierarchy.
    • ⏺  Active (logical) - Turns this paint object on or off.
    • ⏺  Grouping (vector) - Per-group visibility control values: negative ignores a group, 0 hides it, and positive keeps it visible.
    • ⏺  Z Order (scalar) - Sets this object's drawing order relative to sibling paint objects.
    • ⏺  Brush (brush) - Brush used to fill this shape.
    • ⏺  Pen (pen) - Pen used to draw this shape outline.
    • ⏺  Fill (logical) - Turns filling on or off.
    • ⏺  Draw (logical) - Turns outline drawing on or off.
    • ⏺  Tool (integer) - Tool index this drawing item responds to in DrawNode.
    • ⏺  Show Drawing (logical) - When on, shows this item's geometry while the stroke is in progress.
    • ⏺  Show Finished (logical) - When on, keeps this item's geometry visible after the stroke is finished.
    • ⏺  Text Format (text format) - Text format used to create the text layout.
    • ⏺  Text (text) - Text content to convert into drawing geometry.
    • ⏺  Left Top (vector) - Top-left offset of the text layout box from the stroke position.
    • ⏺  Right Bottom (vector) - Bottom-right offset of the text layout box from the stroke position.
    • ⏺  Tolerance (scalar) - Outline tolerance used when converting text into geometry.
  • Output pins:
    • ⏺  Active Items (integer) - Number of currently visible items produced by this drawing module.
Article Content

Loading
Close
Loading spinner icon
1/10