Renderables

Polyline

An open line through a list of points.

Object type renderable pins

A polyline joins its points in order with straight segments, without closing the outline. The points are relative to its position. Like every Line, it has a stroke and no fill.

Hierarchy

Parents
Line → Renderable
Subtypes
None

Properties

NameTypeNotes
positionPoint from Renderable
rotationnumber from Renderable
scalenumber from Renderable
opacitynumberread-only from Renderable
blendModeBlendModeread-only from Renderable
strokeStroke from Line
pointsArray<Point>

Nodes

Break Polyline

Node id break/Polyline

Inputs

NameTypeDefaultNotes
objectPolylinetype default

Outputs

NameTypeNotes
positionPoint
rotationnumber
scalenumber
opacitynumber
blendModeBlendMode
strokeStroke
pointsArray<Point>

Make Polyline

Node id make/Polyline

Inputs

NameTypeDefaultNotes
positionPoint{ x: 0, y: 0 }
rotationnumber0
scalenumber1
strokeStroke{ width: 1, color: { r: 0, g: 0, b: 0, a: 1 }, dashStyle: "SOLID", caps: "round" }
pointsArray<Point>[{ x: -150, y: -75 }, { x: -50, y: 75 }, { x: 50, y: -75 }, { x: 150, y: 75 }]

Outputs

NameTypeNotes
objectPolyline

Set Polyline

Node id set/Polyline

Inputs

NameTypeDefaultNotes
objectPolylinetype default
positionPoint—
rotationnumber—
scalenumber—
strokeStroke—
pointsArray<Point>—

Outputs

NameTypeNotes
objectPolyline

Lerp Polyline

Node id lerp/Polyline

Inputs

NameTypeDefaultNotes
aPolylinetype default
bPolylinetype default
tnumber0.5

Outputs

NameTypeNotes
resultPolyline

Notes

  • Default. Make Polyline gives a zigzag through (-150, -75), (-50, 75), (50, -75) and (150, 75).
  • From other nodes. points is an Array<Point>, e.g. from Sample or Map.

Lerp

Lerp Polyline blends each point with the point at the same index, plus the transform and the stroke. Both polylines must have the same number of points, else it's a node error. t is clamped to 0, 1.

  • Polygon, the closed, filled version.
  • Spline, a smooth curve through the same points.
  • Bezier, for one curve shaped by control points.
© 2026 Wirepaint